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.
This commit is contained in:
Lily Foster 2023-02-23 19:42:45 -05:00
parent b69883faca
commit 308657daec
No known key found for this signature in database
GPG key ID: 49340081E484C893

View file

@ -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 = ''