Skip to content

Switch to using chezmoi

As explored on Is Ansible even the right tool? (yes, but not f... (bootstrap#12 - closed), there is a tool for managing dotfiles, called chezmoi (GitHub repo) (French for "at my home", pronounced ʃɛsmwa), that solves these problems for dotfiles:

  1. The Installation problem
  2. The Secrets problem
  3. The multi-device configuration problem

It does this by handling linking into $HOME and also providing a templating system, and hooks into different secrets-management tools. It also works on Linux,macOS, and Windows.

This is likely the best solution, rather than rolling my own. By keeping my shell libraries, ansible plays, and bootstrapping in separate projects, I've let the way open to switch from crude bash functions into a dedicated tool.


TL;DR: Don't switch to chezmoi, use yadm instead

Edited by MikeL