about summary refs log tree commit diff
path: root/pkgs/os-specific
diff options
context:
space:
mode:
authorViktor Kleen <viktor@kleen.org>2024-03-06 10:08:48 +0000
committerViktor Kleen <viktor@kleen.org>2024-03-08 08:52:11 +0000
commit0aed32b9dd2a4118336c31742fed0262bd381d0b (patch)
tree3f5ef9242c6898dea07d1be6c3fabecda5c17844 /pkgs/os-specific
parentd8fb224f4cc3b79109f51a7160d40bbfa0813ce5 (diff)
downloadnixlib-0aed32b9dd2a4118336c31742fed0262bd381d0b.tar
nixlib-0aed32b9dd2a4118336c31742fed0262bd381d0b.tar.gz
nixlib-0aed32b9dd2a4118336c31742fed0262bd381d0b.tar.bz2
nixlib-0aed32b9dd2a4118336c31742fed0262bd381d0b.tar.lz
nixlib-0aed32b9dd2a4118336c31742fed0262bd381d0b.tar.xz
nixlib-0aed32b9dd2a4118336c31742fed0262bd381d0b.tar.zst
nixlib-0aed32b9dd2a4118336c31742fed0262bd381d0b.zip
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.
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r--pkgs/os-specific/linux/systemd/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix
index 064c465bd6e3..6660bbb521fc 100644
--- a/pkgs/os-specific/linux/systemd/default.nix
+++ b/pkgs/os-specific/linux/systemd/default.nix
@@ -851,8 +851,8 @@ stdenv.mkDerivation (finalAttrs: {
     # needed - and therefore `interfaceVersion` should be incremented.
     interfaceVersion = 2;
 
-    inherit withCryptsetup withHostnamed withImportd withKmod withLocaled
-      withMachined withPortabled withTimedated withUtmp util-linux kmod kbd;
+    inherit withBootloader withCryptsetup withHostnamed withImportd withKmod
+      withLocaled withMachined withPortabled withTimedated withUtmp util-linux kmod kbd;
 
     tests = {
       inherit (nixosTests)