Overview
The dotfiles support three machine types that control which configurations are applied:- personal: Personal machine with personal email and repositories
- work: Work machine with work email and repositories
- hybrid: Machine used for both personal and work with conditional configurations
Configuration Template
Machine type is configured during chezmoi initialization in.chezmoi.toml.tmpl:
.chezmoi.toml.tmpl
Conditional Prompts
Personal Email
Prompted only forpersonal or hybrid machines:
Work Email
Prompted only forwork or hybrid machines:
Data Storage
All values are stored in the[data] section and accessible in templates:
.chezmoi.toml.tmpl
Machine Type Impact
Different machine types affect:- Git configuration: Which email is used as default
- Bash aliases: Work or personal specific shortcuts
- AWS credentials: Only configured for work/hybrid machines
- Directory paths: WSL paths for work vs personal repositories
Editor Integration
The selected editor is used for:.chezmoi.toml.tmpl
Security
Encryption is enabled using age:.chezmoi.toml.tmpl
Bitwarden Integration
Bitwarden CLI is configured for secret management:.chezmoi.toml.tmpl