Skip to content

Commit

Permalink
nixos/tests/hibernate: Use EFI
Browse files Browse the repository at this point in the history
So that resumeDevice isn't needed to make systemd stage 1 work.
  • Loading branch information
ElvishJerricco committed Mar 16, 2024
1 parent f1731f2 commit 3758681
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/tests/hibernate.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};

Expand Down

0 comments on commit 3758681

Please sign in to comment.