1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
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
emergency-mode.nix
initrd-network.nix nixos/initrd-network: add new module 2015-10-18 18:41:11 +03:00
kernel.nix
kexec.nix
luksroot.nix nixos/luksroot: allow to enter passphrase from another console 2015-10-18 18:41:11 +03:00
modprobe.nix
networkd.nix
pbkdf2-sha512.c
readonly-mountpoint.c
resolved.nix
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.nix
systemd-lib.nix
systemd-unit-options.nix
systemd.nix Factor out option renaming 2015-10-14 18:18:47 +02:00
timesyncd.nix
tmp.nix