nixpkgs/nixos/modules/system/boot/systemd
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
..
coredump.nix Revert "nixos/systemd-coredump: guard static gid for systemd-coredump behind state version" 2023-02-25 22:31:56 -05:00
homed.nix
initrd-secrets.nix systemd-initrd: Support secrets when boot loader doesn't 2023-04-11 15:20:47 -04:00
initrd.nix systemd-stage-1: Revert assertions about initrd commands 2023-04-22 10:25:16 -04:00
journald.nix
logind.nix
nspawn.nix
oomd.nix
repart.nix nixos/systemd-repart: definition files in initrd 2023-05-09 00:11:21 +02:00
shutdown.nix
tmpfiles.nix
user.nix Merge pull request #211252 from schnusch/systemd-user-tmpfiles-rules 2023-01-17 17:41:41 +00:00
userdbd.nix