about summary refs log tree commit diff
path: root/nixos/tests/systemd-shutdown.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/tests/systemd-shutdown.nix')
-rw-r--r--nixos/tests/systemd-shutdown.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/systemd-shutdown.nix b/nixos/tests/systemd-shutdown.nix
index 688cd6dd2c175..dad8167f198fc 100644
--- a/nixos/tests/systemd-shutdown.nix
+++ b/nixos/tests/systemd-shutdown.nix
@@ -11,6 +11,7 @@ in {
     systemd.shutdownRamfs.contents."/etc/systemd/system-shutdown/shutdown-message".source = pkgs.writeShellScript "shutdown-message" ''
       echo "${msg}"
     '';
+    boot.initrd.systemd.enable = systemdStage1;
   };
 
   testScript = ''