From 23b3add0e305ec447ba19613be723e781522e7f9 Mon Sep 17 00:00:00 2001 From: Will Fancher Date: Sun, 20 Nov 2022 21:01:51 -0500 Subject: [PATCH] nixos: Fix hibernate test with systemd stage 1 --- nixos/tests/hibernate.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/tests/hibernate.nix b/nixos/tests/hibernate.nix index 7a4b331169a..cb75322ca5f 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";