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
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue