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; virtualisation.useNixStoreImage = true;
swapDevices = lib.mkOverride 0 [ { device = "/dev/vdc"; options = [ "x-systemd.makefs" ]; } ]; swapDevices = lib.mkOverride 0 [ { device = "/dev/vdc"; options = [ "x-systemd.makefs" ]; } ];
boot.resumeDevice = "/dev/vdc";
boot.initrd.systemd.enable = systemdStage1; boot.initrd.systemd.enable = systemdStage1;
virtualisation.useEFIBoot = true;
}; };
}; };