diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2024-03-09 21:01:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-09 21:01:35 -0500 |
commit | f592a7ea771bc3c417f7e3026af615d0c6be84ce (patch) | |
tree | 04a56803ddc69cfef1dc03129ba1ebbec7d0e816 /nixos/modules/system | |
parent | fd668bb4271d504815e68c0e467e78cb7d04597c (diff) | |
parent | 0aed32b9dd2a4118336c31742fed0262bd381d0b (diff) |
Merge pull request #293720 from vkleen/fix/systemd-boot-random-seed
nixos/systemd: Only include systemd-boot-random-seed if the unit exists
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/systemd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix index 49090423e078c..a8885aee78f2b 100644 --- a/nixos/modules/system/boot/systemd.nix +++ b/nixos/modules/system/boot/systemd.nix @@ -97,7 +97,7 @@ let # Maintaining state across reboots. "systemd-random-seed.service" - "systemd-boot-random-seed.service" + ] ++ (optional cfg.package.withBootloader "systemd-boot-random-seed.service") ++ [ "systemd-backlight@.service" "systemd-rfkill.service" "systemd-rfkill.socket" |