1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

nixos/tests/hibernate: Use EFI

So that resumeDevice isn't needed to make systemd stage 1 work.
This commit is contained in:
Will Fancher 2024-03-16 15:12:15 -04:00
parent f1731f2e28
commit 3758681200

View file

@ -24,8 +24,8 @@ makeTest {
virtualisation.useNixStoreImage = true;
swapDevices = lib.mkOverride 0 [ { device = "/dev/vdc"; options = [ "x-systemd.makefs" ]; } ];
boot.resumeDevice = "/dev/vdc";
boot.initrd.systemd.enable = systemdStage1;
virtualisation.useEFIBoot = true;
};
};