nixpkgs/nixos/modules/system/boot/loader
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
..
generations-dir nixos: add a few missing type specifiers under boot.* 2015-02-28 09:19:23 +01:00
generic-extlinux-compatible nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00
grub Factor out option renaming 2015-10-14 18:18:47 +02:00
gummiboot nixos: gummiboot: change default to 1000 if boot.loader.timeout is null 2015-01-30 10:36:21 +01:00
init-script nixos: add a few missing type specifiers under boot.* 2015-02-28 09:19:23 +01:00
raspberrypi Raspberry Pi 2 changes to make it boot. 2015-05-09 17:05:24 +00:00
efi.nix nixos: fix some types 2015-09-18 18:48:50 +00:00
loader.nix nixos: loader: added generic config.boot.loader.timeout option 2015-01-30 09:53:44 +01:00