My Mac setup in chezmoi. A new Mac is ready in about 30 minutes and keeps itself up to date. All of it is public, so anyone can take what they need.
Why it exists
A new Mac takes me about 30 minutes, and I spend most of them waiting. One repository holds every config file and the scripts that install the rest: brew packages, mise tools, editor plugins and macOS defaults. Once the Mac is set up, the same scripts keep it up to date.
The repository is public. Anyone can take a config, a script or the whole approach.
What it does
- Keeps the system up to date
chezmoi updatealso updatesbrewpackages,misetools,claudeplugins, skills,herdrand the rest.- Edit in place, sync later
- Change a file where it lives, in an app's settings or in the editor.
.chsbrings the change back intogit, merges it with the other Macs and applies the result. - Secrets stay in
1Password - A hook swaps API keys for placeholders before
chezmoireads a file and puts them back after, so no key reachesgit. - My own tools included
miseinstallsxcodectl,skillet,mobile-broomandclaude-counter-statusbaralong with everything else.
A new Mac in 30 minutes
Setting up a new Mac is four steps and then a wait:
- Install
brew. - Install
chezmoiandop(1Password CLI). - Run
chezmoi initto clone the repository. - Run
chezmoi apply. It does the rest:- writes the config files
- installs the
Brewfileand themisetools - adds the
vimplugins andzimmodules - sets the macOS and
Xcodedefaults