From 375868120042070daaf715f72d1a6df94e714a26 Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Sat, 16 Mar 2024 15:12:15 -0400 Subject: [PATCH] nixos/tests/hibernate: Use EFI So that resumeDevice isn't needed to make systemd stage 1 work. --- nixos/tests/hibernate.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/hibernate.nix b/nixos/tests/hibernate.nix index 296aa9ba68b9..6de287f63e08 100644 --- a/nixos/tests/hibernate.nix +++ b/nixos/tests/hibernate.nix @@ -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; }; };