Commit 23b3add0 authored by Will Fancher's avatar Will Fancher
Browse files

nixos: Fix hibernate test with systemd stage 1

parent d24d8b71
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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";