ChezMoi
chezmoi helps you manage your personal configuration files (dotfiles, like
~/.gitconfig) across multiple machines.
Mainly act as wrapper around git and the management of a special repo dedicated to .config files. All regular git command are available when steping inside the chezmoi repo which is accessible with chezmoi cd.
Install
$ nix profile add nixpkgs#chezmoiQuickstart
$ chezmoi init
$ chezmoi add ~/.bashrc
$ chezmoi -v applyGit Sync
Leverage a git repo to syncronize everything Create a dotfile repo on github and attach it to chezmoi
$ chezmoi cd
$ git remote add origin git@github.com:yduf/dotfiles.git
# and pushMulti-Host
Use the Git repo to share and synchronize these config accross multiple computers. Reference the repo when setting up the new computer.
$ chezmoi init git@github.com:yduf/dotfiles.git
$ chezmoi diff
$ chezmoi apply -v
Written on February 1, 2026, Last update on
config
nix
package