mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 07:15:54 +03: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;
|
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 New Issue
Block a user