4 ms·
No extra tooling, no symlinks, files are tracked on a version control system, you can use different branches for different computers, you can replicate you conf
by danieldk 8y ago
No extra tooling, no symlinks, files are tracked on a version control system, you can use different branches for different computers, you can replicate you configuration easily on new installation.
But synchronizing shared configuration is clunky (you have to cherry pick commits between branches I guess).
I use NixOS and Nix on my MacBook, which allows you to store and version your whole system configuration. I have factored out different parts of my configuration (emacs, zsh, etc.) in different .nix files. So, I just have one file per machine where I import the relevant configurations and specify the packages that I want to have available. E.g. this is my user configuration on NixOS:
https://github.com/danieldk/nix-home/blob/master/machines/mindbender.nix https://github.com/danieldk/nix-home/blob/master/machines/mi...
and macOS:
https://github.com/danieldk/nix-home/blob/master/machines/macbook.nix https://github.com/danieldk/nix-home/blob/master/machines/ma...
- eiginn 8y agoThanks for sharing those, I had kind of written off Nix for personal laptop after first glance, going to play around again.