3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/misc
Jan Malakhovski 119c8f91e7 nixos: introduce system.nixosLabel option and use it where appropriate
Setting nixosVersion to something custom is useful for meaningful GRUB
menus and /nix/store paths, but actuallly changing it rebulids the
whole system path (because of `nixos-version` script and manual
pages). Also, changing it is not a particularly good idea because you
can then be differentitated from other NixOS users by a lot of
programs that read /etc/os-release.

This patch introduces an alternative option that does all you want
from nixosVersion, but rebuilds only the very top system level and
/etc while using your label in the names of system /nix/store paths,
GRUB and other boot loaders' menus, getty greetings and so on.
2016-01-08 22:26:15 +00:00
..
assertions.nix Remove some obsolete references to <nixos> 2015-08-05 17:37:08 +02:00
crashdump.nix nixos/manual: Use literalExample when feasible. 2014-08-27 23:41:15 +02:00
extra-arguments.nix nixos: move left-behind allowUnfree comment 2015-09-03 01:17:10 +02:00
ids.nix calibre-server service: init 2015-09-27 20:31:17 -07:00
lib.nix Get all lib functions from lib, not pkgs.lib, in modules 2014-07-02 12:28:18 -04:00
locate.nix nixos: Fix manpages from 8c652379df 2015-08-03 16:19:12 -07:00
meta.nix NixOS: Add meta.maintainer option to modules. 2014-08-25 01:04:39 +02:00
nixpkgs.nix Unify NixOS and Nixpkgs channel structure 2015-08-05 17:37:11 +02:00
passthru.nix Get all lib functions from lib, not pkgs.lib, in modules 2014-07-02 12:28:18 -04:00
version.nix nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00