about summary refs log tree commit diff
diff options
context:
space:
mode:
authornikstur <nikstur@outlook.com>2024-02-28 12:14:04 +0100
committernikstur <nikstur@outlook.com>2024-02-28 12:14:06 +0100
commit380f36f3500d6a869baeaf86e9e96ffee44a55e2 (patch)
treef3a4e18ec226420c68a130dea7b5a52b52d4308a
parentbd4c49f29b77e9d494bf013daf7e31c17ccc92bf (diff)
nixos/systemd: include systemd-boot-random-seed.service
This is necessary to properly refresh the boot loader random seed.
See https://www.freedesktop.org/software/systemd/man/latest/systemd-boot-random-seed.service.html#
-rw-r--r--nixos/modules/system/boot/systemd.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index 1ef323ba14dba..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"