about summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authornikstur <nikstur@outlook.com>2024-03-01 21:46:39 +0100
committerGitHub <noreply@github.com>2024-03-01 21:46:39 +0100
commit1df98b23f6107f82cc7345067204335daf4536ba (patch)
tree54543f652de547e5c8644b77b90938d7e144bdd5 /nixos/modules/system
parentd5c052aea5c67a46821284e64ebd23e179cdb071 (diff)
parent380f36f3500d6a869baeaf86e9e96ffee44a55e2 (diff)
Merge pull request #292061 from nikstur/systemd-random-seed
nixos/systemd: include systemd-boot-random-seed.service
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index e29fa49ea23be..49090423e078c 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -97,6 +97,7 @@ let
 
       # Maintaining state across reboots.
       "systemd-random-seed.service"
+      "systemd-boot-random-seed.service"
       "systemd-backlight@.service"
       "systemd-rfkill.service"
       "systemd-rfkill.socket"
@@ -667,7 +668,6 @@ in
 
     # Don't bother with certain units in containers.
     systemd.services.systemd-remount-fs.unitConfig.ConditionVirtualization = "!container";
-    systemd.services.systemd-random-seed.unitConfig.ConditionVirtualization = "!container";
 
     # Increase numeric PID range (set directly instead of copying a one-line file from systemd)
     # https://github.com/systemd/systemd/pull/12226