Skip to content

edgard/dotfiles

Repository files navigation

dotfiles

Dotfiles managed with chezmoi. Supports multiple profiles.

Installation

curl -fsLS chezmoi.io/get | sh -s -- -b ~/.local/bin init --apply edgard/dotfiles

Usage

update                  # Update everything (dotfiles, packages)
update install          # Install Homebrew packages from Brewfiles
update cleanup          # Remove unused Homebrew packages
update secrets          # Fetch profile files from Bitwarden

Configuration

AI Skills

chezmoi apply installs skills via npx skills using manifest files:

  • extras/skills.common
  • extras/skills.<profile>

Manifest format:

source|agents(comma-separated)|skill

Use ./... sources for local paths relative to the chezmoi source directory. Skills are copied (--copy), not symlinked.

Profile Files (Bitwarden)

Create a Secure Note named _chezmoi_<profile> (e.g., _chezmoi_home) and add machine-specific files as attachments. update secrets downloads these attachments to ~/.config/local/.

Login and fetch:

bw login
update secrets

Local Overrides

Any *.zsh files in ~/.config/local/ are sourced by zsh.

Troubleshooting

Re-run bootstrap scripts:

chezmoi state delete-bucket --bucket=scriptState  # run_once_ scripts
chezmoi state delete-bucket --bucket=entryState   # run_onchange_ scripts

About

This is my dotfile repo. There are many like it, but this one is mine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors