mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
nixos/tests/hibernate: Use EFI
So that resumeDevice isn't needed to make systemd stage 1 work.
This commit is contained in:
parent
f1731f2e28
commit
3758681200
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user