nixpkgs/nixos/modules
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
..
config i18n: add color scheme option (close #9626) 2015-11-09 14:53:59 +01:00
hardware Put all firmware in $out/lib/firmware 2015-08-25 00:40:34 +02:00
installer nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00
misc nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00
profiles nixos: add xfs support to profiles/minimal 2015-09-18 18:58:18 +00:00
programs nixos/environment: don't set Qt 5 paths 2015-10-30 16:10:37 -05:00
security nixos: fix some types 2015-09-18 18:48:50 +00:00
services nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00
system nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00
tasks i18n: add color scheme option (close #9626) 2015-11-09 14:53:59 +01:00
testing test-instrumentation.nix: Prevent calling a pager 2015-01-15 14:39:29 +01:00
virtualisation nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00
module-list.nix nixos/autofs: revive and update to systemd 2015-11-11 16:18:57 +03:00
rename.nix Factor out option renaming 2015-10-14 18:18:47 +02:00