News for hackers. Stuff that matters.
Re:Home in Nix – dotfile management by pletnes on Friday January 10, 2020 @04:37AM (#22009701)
I used to symlink and have a simple dotfiles repo, but this forces you to have exactly identical rc files. Different computers simply need different setups, so I started with ansible and a few playbooks running locally.
Re:Home in Nix – dotfile management by roryrjb on Friday January 10, 2020 @04:45AM (#22009751)
This was posted recently https://drewdevault.com/2019/12/30/dotfiles.html, but I actually liked the idea of using uname, hostname etc in constructing $PATH and even though I was already using git to track my dotfiles I adapted some parts of my setup like Drew describes and made $HOME a git repo itself ignoring everything by default. Works quite well across different OSs, machines and shells.