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 [email protected]
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to