Skip to content

Defaults and configuration for macOS across machines

License

Notifications You must be signed in to change notification settings

grendel-consulting/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles for Grendel Consulting

OpenSSF Scorecard

Configuration and settings to rapidly bootstrap a new machine using Chezmoi

We're using ZSH with Oh My Zsh for plugins and Antigen for plugin management. Applications, tools and utiliies rely on Homebrew for package management.

Our shell is Starship, running in iTerm2 and Visual Studio Code terminals, with a fallback setup for macOS Terminal running bash. We're using modern alternatives to cd, cat and ls.

Of course, secrets stay in 1Password, which also handles SSH key management and commit signing.

Usage

Prerequisites

With an existing setup, back everything up first. You will need XCode command-line tools and Homebrew, see below.

Installation

  1. Install the prerequisites and brew install chezmoi then chezmoi init grendel-consulting, either manually or with the .bootstrap.sh script
  2. Preview with chezmoi diff
  3. Apply with chezmoi apply

Optionally, run the following one-liner:

sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply grendel-consulting

Manual Steps

Everything not handled by Chezmoi is manual; some existing todos:

  • Adopt sensible macOS privacy, productivity and security defaults
  • Adopt secret versioning and hashes, coupled with tagging to telegraph
  • Extract other configuration, i.e. for Flux, Ice, Rectangle, iTerm2, VS Code, Chrome, Sublime
  • Adopt and configure atuin and direnv

You will need to sign in to various tools for their own inbuilt syncing to happen: 1Password, vscode

You may need to launch tools first time to configure launch on startup and checking for updates

You may need to explicitly grant permissions to various tools: Flux, Ice, Rectangle

You may opt to install the Kolide Launcher agent

Maintenance

Regular maintenance tasks should be handled through scripts here too.

About

Defaults and configuration for macOS across machines

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages