nixpkgs/modules/system
Eelco Dolstra e5bcb378fa Add support for multiple system profiles
‘nixos-rebuild’ now accepts an argument ‘--profile-name’ (or ‘-p’),
denoting the name of a system profile to use.  The default is
‘system’, which maps to /nix/var/nix/profiles/system.  Any other value
maps to /nix/var/nix/profiles/system-profiles/<name>.  The GRUB menu
generator makes all system profiles available as submenus.  For
instance, doing

  $ nixos-rebuild boot -p test

will cause a menu named ‘NixOS - Profile 'test'’ to be added to the
GRUB boot menu, leaving the default system profile unaffected.

This is only supported for GRUB 2.
2013-10-09 19:13:26 +02:00
..
activation Update all legacy-style modules 2013-09-04 13:05:09 +02:00
boot Add support for multiple system profiles 2013-10-09 19:13:26 +02:00
etc Selectively allow /etc files to be disabled 2013-02-03 14:28:18 +01:00
upstart Rename ‘boot.systemd’ to ‘systemd’ 2013-01-16 12:33:18 +01:00