My personal dotfiles for macOS and Linux, managed with
chezmoi
and secured with
age encryption.
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply maxclax
- Install chezmoi:
sh -c "$(curl -fsLS get.chezmoi.io)"
- Initialize chezmoi:
chezmoi init https://github.com/maxclax/dotfiles.git
chezmoi cd ~
age-keygen | age --armor --passphrase > key.txt.age
Next use to add data in chezmoi.toml Encryption
Create required 1Password entries:
# Create secure note with git and GitHub configuration
op item create --category="Secure Note" --title="chezmoi-data" \
git-config-name="YOUR_NAME" \
git-config-email="YOUR_EMAIL" \
github-username="YOUR_GITHUB_USERNAME" \
github-email="YOUR_GITHUB_EMAIL" \
github-signing-key="YOUR_SSH_SIGNING_KEY"
op signin
chezmoi apply
# Pull and apply updates
chezmoi update
# Edit configuration
chezmoi edit
# See pending changes
chezmoi diff
To customize your system's crontab configuration:
- Switch to the develop branch
- Edit the
dot_crontab
file in your repository - Add your desired cron jobs following standard crontab syntax
- Apply changes using
chezmoi apply
Example dot_crontab
content:
# m h dom mon dow command
0 * * * * /path/to/hourly/script
0 0 * * * /path/to/daily/backup
- 🔒 Encrypted sensitive data using age
- 🔑 Secure credential management with 1Password
- 📝 Git configuration with SSH signing
- 🐳 Container setup (Podman/Docker)
- 🚀 Development environment configurations
- 📦 Package management
- 🔧 Various tool configurations