Shipping dotfiles with Nix

I manage a remote headless machine (brahms) with colmena . During deployment, I quickly hit a problem: my dotfiles live in a git repo on my workstation. Brahms has no copy of it, and I didn&rsquo;t want to add a git clone as part of my setup. The solution turned out to be a one-line change in my Nix config. ln.nix primer After exploring several wrong approaches , I ended up using the…