0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/systemd: Only include systemd-boot-random-seed if the unit exists

The unit file is only present if systemd was built with bootloader support.
This commit is contained in:
Viktor Kleen 2024-03-06 10:08:48 +00:00
parent d8fb224f4c
commit 0aed32b9dd
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -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"