3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules/system/boot
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
..
loader nixos: introduce system.nixosLabel option and use it where appropriate 2016-01-08 22:26:15 +00:00
coredump.nix Added config options for systemd-coredump functionality. 2015-05-24 18:22:53 -06:00
emergency-mode.nix nixos: tmp on tmpfs option 2014-07-30 16:19:26 +02:00
initrd-network.nix nixos/initrd-network: add new module 2015-10-18 18:41:11 +03:00
kernel.nix Put all firmware in $out/lib/firmware 2015-08-25 00:40:34 +02:00
kexec.nix
luksroot.nix nixos/luksroot: allow to enter passphrase from another console 2015-10-18 18:41:11 +03:00
modprobe.nix kmod-debian-aliases: init at 21-1 2015-09-13 10:55:44 +02:00
networkd.nix Create systemd-{network,resolve} user/group unconditionally 2015-07-22 12:23:45 +02:00
pbkdf2-sha512.c
readonly-mountpoint.c
resolved.nix Create systemd-{network,resolve} user/group unconditionally 2015-07-22 12:23:45 +02:00
shutdown.nix
stage-1-init.sh nixos/stage-1: add postEarlyDeviceCommands hook 2015-10-18 18:41:10 +03:00
stage-1.nix Merge pull request #10460 from abbradar/remote-askpass 2015-11-10 16:41:34 +03:00
stage-2-init.sh stage-2: Don't run hwclock in containers 2015-07-22 12:23:52 +02:00
stage-2.nix stage-2-init: Don't depend on sysvtools 2015-04-20 11:32:28 +02:00
systemd-lib.nix Set ‘allowSubstitutes = false’ on various derivations 2015-07-09 15:10:37 +02:00
systemd-unit-options.nix Some more type cleanup 2015-06-15 18:18:46 +02:00
systemd.nix Factor out option renaming 2015-10-14 18:18:47 +02:00
timesyncd.nix Don't include networkd units unless enabled 2015-04-19 22:06:45 +02:00
tmp.nix nixos: tmp on tmpfs option 2014-07-30 16:19:26 +02:00