nixos: Fix hibernate test with systemd stage 1
This commit is contained in:
parent
d24d8b71d2
commit
23b3add0e3
1 changed files with 3 additions and 2 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue