-
Notifications
You must be signed in to change notification settings - Fork 2
CHEZMOI
github-actions[bot] edited this page Jul 1, 2026
·
5 revisions
How
agentic-workstationuses chezmoi for idempotent machine configuration.
chezmoi manages your dotfiles across multiple machines. This repository uses it as the deployment engine: the home/ directory is the source state that chezmoi applies to your home directory.
| Concept | Meaning |
|---|---|
| Source state |
home/ in this repo — templates and files managed by chezmoi |
| Target state | Your actual ~ home directory |
.chezmoiroot |
Points chezmoi at home/ instead of the repo root |
.chezmoidata/ |
YAML data files (profiles, packages, skills) consumed by templates |
.chezmoiscripts/ |
Scripts that run during chezmoi apply (installers, post-apply hooks) |
dot_ prefix |
chezmoi convention — dot_config/ becomes ~/.config/
|
cd /path/to/agentic-workstation
chezmoi init --source=. -c ~/.config/chezmoi/agentic-workstation.tomlThis reads .chezmoidata/ and prompts for profile choices.
chezmoi apply --source=. -c ~/.config/chezmoi/agentic-workstation.toml --dry-runShows what would change without making modifications.
chezmoi apply --source=. -c ~/.config/chezmoi/agentic-workstation.tomlCreates/updates all files and runs installation scripts.
dots-update-check # check if local is behind origin
chezmoi update # git pull + apply in one command
dots-doctor # verify compliancechezmoi diff # compare source state vs targetDuring chezmoi init, you choose profiles that control which packages and tools are installed. See Profiles for the full mapping.
- Create the file under
home/using chezmoi naming conventions - Use
.tmplextension if the file needs template logic - Reference chezmoi data from
.chezmoidata/as needed - Test with
chezmoi apply --source=. -c ~/.config/chezmoi/agentic-workstation.toml --dry-run
Technical context: docs/README.md