Personal machine configuration managed with chezmoi.
Install Homebrew, then install chezmoi and mise:
brew install chezmoi miseInitialize this repository:
chezmoi init <repo-url>Preview and apply the managed files:
chezmoi diff
chezmoi applyInstall pinned global runtimes from ~/.config/mise/config.toml:
mise install
mise doctorOpen a new shell and verify:
mise ls --current
java -version
python --version
node --versionchezmoi supports 1Password through the op CLI. Prefer storing secrets in
1Password and referencing them from chezmoi templates instead of committing
plaintext secrets.
Use onepasswordRead for individual fields:
{{ onepasswordRead "op://Personal/item-name/field-name" }}
Use onepassword when a template needs structured item data:
{{ (onepassword "item-uuid").fields.password.value }}
Before applying templates that reference 1Password, make sure the 1Password app is running and CLI integration is enabled, then verify:
op account listEdit managed files through chezmoi:
chezmoi edit ~/.zshrc
chezmoi diff
chezmoi applyAdd a new file:
chezmoi add ~/.some-configCommit changes from the source directory:
chezmoi cd
git status
git add .
git commit -m "Update dotfiles"