Bas' dotfiles, managed with chezmoi.
Install them with:
$ sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- init -S "$HOME/.dotfiles" --apply qnimbusPersonal secrets are stored in 1Password and you'll need the 1Password CLI installed. Login to 1Password with:
$ eval $(op signin)Windows
winget install twpayne.chezmoi --source winget
⚠️ Windows users: Enable Developer Mode to allow chezmoi to create symlinks.Go to Settings → Privacy & Security → For developers → toggle Developer Mode on.
Alternatively, run this PowerShell command as Administrator:
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowDevelopmentWithoutDevLicense" /d "1"
macOS
brew install chezmoiDebian/Ubuntu
sudo apt update && sudo apt install -y chezmoichezmoi -S "$HOME/.dotfiles" init --apply qnimbusThis clones the repo into ~/.dotfiles, renders all templates,
and writes the resulting files into your home directory.
chezmoi doctor # check environment
chezmoi diff # preview changes
chezmoi apply # apply changesThen open a new shell session to load everything.
chezmoi update # pull latest changes from GitHub
chezmoi diff # see what will change
chezmoi apply # apply updates-
Git configuration (
~/.gitconfig) is templated:- Uses
autocrlf = inputandeol = lffor consistent line endings on all OSes. - Adds a Windows-only
sshCommandoverride to forceC:/Windows/System32/OpenSSH/ssh.exe.
- Uses
-
PowerShell profile (
$PROFILE) is managed via chezmoi and can include platform-specific logic. -
Default editor for chezmoi is VS Code (
code --wait --reuse-window).
-
Edit a managed file (templates included):
chezmoi edit ~/.gitconfig -
Show the rendered version:
chezmoi cat ~/.gitconfig -
Explore the source repo:
chezmoi cd -
On Unix/macOS, you can bootstrap with a single line:
sh -c "$(curl -fsLS get.chezmoi.io/lb)" -- init -S "$HOME/.dotfiles" --apply qnimbus
This setup assumes the 1Password SSH Agent
is enabled (Developer → Use SSH agent).
Your ~/.ssh/config includes the 1Password/config automatically;
chezmoi’s .gitconfig templates a Windows-specific sshCommand to use it.
Dotfiles are committed with LF endings for portability.
git config --global core.autocrlf input
git config --global core.eol lfA .gitattributes file in the repo enforces this:
* text eol=lf
Author: Bas van Wetten License: MIT