1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-23 17:56:53 +03:00
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 nixos: add systemd-homed support 2022-12-09 12:10:51 -06:00
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 treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
logind.nix systemd: build with portabled by default. 2022-09-30 14:53:50 +02:00
nspawn.nix Merge pull request #189703 from ck3d/remove-incomplient-nspawn-options 2022-10-22 12:19:49 +02:00
oomd.nix nixos/systemd/oomd: mdDoc fix 2022-09-28 16:07:42 +02:00
repart.nix nixos/systemd-repart: definition files in initrd 2023-05-09 00:11:21 +02:00
shutdown.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
tmpfiles.nix systemd: build with portabled by default. 2022-09-30 14:53:50 +02:00
user.nix Merge pull request #211252 from schnusch/systemd-user-tmpfiles-rules 2023-01-17 17:41:41 +00:00
userdbd.nix nixos/systemd/userdbd: add method to enable service 2022-12-08 10:28:41 -06:00