Re: [Nix-dev] cleaning up old configurations

2016-11-21 Thread Peter Simons
Hi Henning, > $ sudo nix-env --list-generations that command shows you the available generations of the "root" user profile. To see the list of "configuration.nix" generations, call $ sudo nix-env -p /nix/var/nix/profiles/system --list-generations Best regards, Peter ___

Re: [Nix-dev] cleaning up old configurations

2016-11-21 Thread zimbatm
Yes this one is quite confusing. The grub list is generated on activation of a new profile. Try re-running `nixos-rebuild switch`. It might work to just run /run/current-system/activate On Mon, 21 Nov 2016 at 09:11 Henning Thielemann < lemm...@henning-thielemann.de> wrote: > > Another beginners

[Nix-dev] cleaning up old configurations

2016-11-21 Thread Henning Thielemann
Another beginners question ... I am confused: The NixOS boot menu shows a list of 17 configurations. I want to remove some of them in order to free some space on the NixOS partition. I try $ sudo nix-env --list-generations 12 2015-08-30 11:20:39 19 2015-12-22 11:50:11 20 2016-07-