diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2024-03-16 15:12:15 -0400 |
---|---|---|
committer | Will Fancher <elvishjerricco@gmail.com> | 2024-03-16 15:12:15 -0400 |
commit | 375868120042070daaf715f72d1a6df94e714a26 (patch) | |
tree | bb2c05491cb1369b08bdfdf15801073a8bff6075 /nixos/tests | |
parent | f1731f2e28eae6164a31868c024ae9c1b9d4fdb9 (diff) | |
download | nixlib-375868120042070daaf715f72d1a6df94e714a26.tar nixlib-375868120042070daaf715f72d1a6df94e714a26.tar.gz nixlib-375868120042070daaf715f72d1a6df94e714a26.tar.bz2 nixlib-375868120042070daaf715f72d1a6df94e714a26.tar.lz nixlib-375868120042070daaf715f72d1a6df94e714a26.tar.xz nixlib-375868120042070daaf715f72d1a6df94e714a26.tar.zst nixlib-375868120042070daaf715f72d1a6df94e714a26.zip |
nixos/tests/hibernate: Use EFI
So that resumeDevice isn't needed to make systemd stage 1 work.
Diffstat (limited to 'nixos/tests')
-rw-r--r-- | nixos/tests/hibernate.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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; }; }; |