diff options
author | Lily Foster <lily@lily.flowers> | 2023-02-23 19:42:45 -0500 |
---|---|---|
committer | Lily Foster <lily@lily.flowers> | 2023-02-23 19:42:45 -0500 |
commit | 308657daec2c8d3508b34f171305e9b10d297267 (patch) | |
tree | ac6947623c0170e81d6c77a8f6b4046262ac8bc2 /nixos/tests/systemd-shutdown.nix | |
parent | b69883faca9542d135fa6bab7928ff1b233c167f (diff) |
nixos/tests/systemd-shutdown: ensure systemd-initrd variant actually enables it
It looks like the systemd-initrd variant of the systemd-shutdown test (systemd-initrd-shutdown) did not actually enable the systemd-initrd and so was just evaluating to the same store path before this change.
Diffstat (limited to 'nixos/tests/systemd-shutdown.nix')
-rw-r--r-- | nixos/tests/systemd-shutdown.nix | 1 |
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 = '' |