3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #217942 from lilyinstarlight/fix/nixos-test-systemd-initrd-shutdown

nixos/tests/systemd-shutdown: ensure systemd-initrd variant actually enables it
This commit is contained in:
Florian Klink 2023-02-25 19:02:53 +01:00 committed by GitHub
commit 4ed9534f12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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