Skip to content

GSala/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Personal machine configuration managed with chezmoi.

Bootstrap a new machine

Install Homebrew, then install chezmoi and mise:

brew install chezmoi mise

Initialize this repository:

chezmoi init <repo-url>

Preview and apply the managed files:

chezmoi diff
chezmoi apply

Install pinned global runtimes from ~/.config/mise/config.toml:

mise install
mise doctor

Open a new shell and verify:

mise ls --current
java -version
python --version
node --version

1Password

chezmoi 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 list

Daily use

Edit managed files through chezmoi:

chezmoi edit ~/.zshrc
chezmoi diff
chezmoi apply

Add a new file:

chezmoi add ~/.some-config

Commit changes from the source directory:

chezmoi cd
git status
git add .
git commit -m "Update dotfiles"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors