diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2022-11-20 21:01:51 -0500 |
---|---|---|
committer | Will Fancher <elvishjerricco@gmail.com> | 2022-11-20 21:01:51 -0500 |
commit | 23b3add0e305ec447ba19613be723e781522e7f9 (patch) | |
tree | 7048519b0d957456a220d135727f27058fba267f /nixos/tests/hibernate.nix | |
parent | d24d8b71d23796f9921530127efb17c673e0b46b (diff) |
nixos: Fix hibernate test with systemd stage 1
Diffstat (limited to 'nixos/tests/hibernate.nix')
-rw-r--r-- | nixos/tests/hibernate.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/tests/hibernate.nix b/nixos/tests/hibernate.nix index 7a4b331169a39..cb75322ca5f92 100644 --- a/nixos/tests/hibernate.nix +++ b/nixos/tests/hibernate.nix @@ -26,8 +26,9 @@ let powerManagement.resumeCommands = "systemctl --no-block restart backdoor.service"; - fileSystems = { - "/".device = "/dev/vda2"; + fileSystems."/" = { + device = "/dev/vda2"; + fsType = "ext3"; }; swapDevices = mkOverride 0 [ { device = "/dev/vda1"; } ]; boot.resumeDevice = mkIf systemdStage1 "/dev/vda1"; |