[Nix-dev] Put configuration.nix under version control

Jakob Gillich jakob at gillich.me
Thu Jan 21 01:36:47 CET 2016


What prevents you from doing it? You only need a way to figure out which
machine you are on, I did that by adding configuration.nix to my
gitignore and then loading the machine configuration from there.

https://github.com/jgillich/nixos

https://nixos.org/wiki/Real_World_NixOS_Dotfiles


On Thu, Jan 21, 2016, at 12:24 AM, Owen Lynch wrote:
> Hello,
>
> I'm wondering if there is a standard/recommended way to put
> /etc/nixos/configuration.nix under version control. It would make
> managing lots of virtual machines a lot easier, because I could have a
> script that updated to the latest configuration.nix and then ran nixos-
> rebuild whenever I made a change. It would also make updates even
> *more* atomic!
>
> -Owen
> _________________________________________________
> nix-dev mailing list nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160121/8344c44c/attachment.html 


More information about the nix-dev mailing list