Ah, great point! This line worked perfectly for me: environment.etc."nixos/current/configuration.nix".text = builtins.readFile ./configuration.nix;
On Mon, Mar 30, 2015 at 4:10 PM, Michael Raskin <[email protected]> wrote: > >On Mon, Mar 30, 2015 at 9:47 PM, Ryan Trinkle <[email protected]> > wrote: > >> On a somewhat related note, is there any way to see the exact > >> configuration.nix for a particular generation? It would be great to be > able > >> to diff generations against each other (e.g.: to figure out whether a > >> channel update caused a problem or whether it was my own change). > > > >You are not the first one to request this feature. > >They are a few issues in the way, but I will open an issue and do it > >as soon as I am done with the httpd rewrite. > > In the meantime just adding /etc/ entry that is a copy of > /etc/nixos/configuration.nix should work… > > > >
_______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
