3
0
Fork 0
forked from mirrors/nixpkgs

nixos: Fix hibernate test with systemd stage 1

This commit is contained in:
Will Fancher 2022-11-20 21:01:51 -05:00
parent d24d8b71d2
commit 23b3add0e3

View file

@ -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";