about summary refs log tree commit diff
path: root/nixos/tests
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-02-25 19:02:53 +0100
committerGitHub <noreply@github.com>2023-02-25 19:02:53 +0100
commit4ed9534f12a4eabdb928094dfbf8eb5522facb1e (patch)
treea43bfa4cb1716a5ad919cfa4c0e0aa308fb966c4 /nixos/tests
parenta4821c3afdf8ec0f376d53b33c6212a68fb4bcc5 (diff)
parent308657daec2c8d3508b34f171305e9b10d297267 (diff)
Merge pull request #217942 from lilyinstarlight/fix/nixos-test-systemd-initrd-shutdown
nixos/tests/systemd-shutdown: ensure systemd-initrd variant actually enables it
Diffstat (limited to 'nixos/tests')
-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 = ''