nixpkgs/nixos/modules/system/boot
nikstur d85abd2764 nixos/systemd-repart: definition files in initrd
Store the definition files in the initrd instead of reading them from
the Nix store in /sysroot.

This way, the initrd has to be re-generated every time the definition
files change. When the path to the defintion files instead of the
definition files themselves are embedded in the initrd, however, the
initrd also has to be re-generated every time. In this regard, this
change does not improve the status quo.

However, now systemd-repart also works reliable when the Nix store is
mounted separately from the root partition.

This change also enables new use-cases like creating partitions
necessary to boot the system. However, by default, the root partition
cannot be created on first boot because the systemd-repart service
requires a /sysroot to be mounted. Otherwise, systemd-repart cannot
determine the device to operate on.
2023-05-09 00:11:21 +02:00
..
loader Merge pull request #223418 from Mic92/grub 2023-05-04 09:48:41 +01:00
systemd nixos/systemd-repart: definition files in initrd 2023-05-09 00:11:21 +02:00
binfmt.nix nixos/binfmt: add loongarch64-linux 2023-04-28 12:11:58 +03:00
emergency-mode.nix
grow-partition.nix systemd-stage-1: Add assertions for unsupported options. 2023-04-21 13:05:12 -04:00
initrd-network.nix systemd-initrd: Flush networkd 2023-04-17 16:41:36 -04:00
initrd-openvpn.nix systemd-initrd: OpenVPN 2023-04-17 16:41:35 -04:00
initrd-ssh.nix systemd-initrd: sshd 2023-04-17 16:41:35 -04:00
kernel_config.nix
kernel.nix nixos/*: remove trailing period in mkEnableOptions 2023-02-08 15:23:34 +01:00
kexec.nix
luksroot.nix treewide: use more lib.optionalString 2023-04-07 13:38:33 +02:00
modprobe.nix nixos/modprobe: fix typo in boot.modprobeConfig.enable documentation 2023-01-20 13:58:15 +01:00
networkd.nix nixos/networkd: add TransmitQueues and TransmitQueueLength 2023-05-06 21:55:09 -04:00
pbkdf2-sha512.c
plymouth.nix nixos/plymouth: don't start Plymouth on config switch 2022-11-05 19:52:42 -04:00
resolved.nix nixos: Make services.resolved discoverable via "systemd-resolved" search 2023-04-07 01:09:05 +02:00
shutdown.nix
stage-1-init.sh nixos/stage-1: follow mount options 2023-04-25 12:47:39 +02:00
stage-1.nix systemd-initrd: Fix up root directory mode 2023-04-11 15:20:47 -04:00
stage-2-init.sh nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId 2023-01-14 16:19:06 -05:00
stage-2.nix nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId 2023-01-14 16:19:06 -05:00
systemd.nix Merge pull request #216826 from gdamjan/systemd-253 2023-03-13 17:37:39 +01:00
timesyncd.nix
tmp.nix nixos/tmp: add a note to useTmpfs on potential issues 2023-03-20 17:27:06 +01:00
uvesafb.nix nixos/uvesafb: init 2022-10-23 11:47:11 -03:00