Protecting Secrets in Dotfiles with Chezmoi

Following up on my earlier blogs on Chezmoi Using Chezmoi Using Chezmoi part 2 - Templates one really nice feature is how Chezmoi integrates with various password managers so that you never have to put sensitive content into your dotfiles that you put on GitHub or some other shared/public location. You can read the Chezmoi docs for all the various supported password managers. I use 1Password so I will show a quick and simple example of integrating with that. ...

June 20, 2025 · 3 min · Ray Suliteanu

Using chezmoi part 2 - Templates

In my previous post on chezmoi I gave an introduction on the basic setup and usage. There is a lot more you can do with chezmoi, particularly if you’re using it across different computers you use. For example, maybe you have separate computers for work and at home, or maybe you have one computer that’s a Windows machine and one that’s MacOS and another one that’s Linux. Perhaps you have multiple Linux machines but you want the config to be slightly different. chezmoihas you covered. ...

April 7, 2025 · 6 min · Ray Suliteanu

Using chezmoi to manage dotfiles

There are many options available to manage dotfiles. I have been using chezmoi for a while now and I am quite happy with it. In this post I will explain how I have set up chezmoi to manage my dotfiles. I have tried several different approaches, including doing nothing - basically just making sure I had a backup somewhere. I’ve also tried a simple shell script that would manage symlinks for me. I’ve also tried GNU Stow. There are several reasons I don’t like stow but this post isn’t about bashing stow. I started to look into Nix HomeManager but I didn’t want to go all in on Nix. Nix seemed to all invasive and “heavyweight”. So what are my requirements? ...

January 9, 2025 · 8 min · Ray Suliteanu