fix(hyprland): not correctly going into hibernate
This commit is contained in:
parent
33e383341f
commit
8b3e854a92
1 changed files with 4 additions and 6 deletions
|
|
@ -118,12 +118,10 @@ in
|
||||||
}
|
}
|
||||||
] ++ optional
|
] ++ optional
|
||||||
(!cfg.nvidiaSupport) # TODO https://github.com/hyprwm/Hyprland/issues/1728
|
(!cfg.nvidiaSupport) # TODO https://github.com/hyprwm/Hyprland/issues/1728
|
||||||
[
|
{
|
||||||
{
|
timeout = 30 * 60;
|
||||||
timeout = 30 * 60;
|
command = "${pkgs.systemd}/bin/systemctl suspend-and-hibernate";
|
||||||
command = "${pkgs.systemd}/bin/systemctl suspend-then-hibernate";
|
};
|
||||||
}
|
|
||||||
];
|
|
||||||
systemdTarget = "hyprland-session.target";
|
systemdTarget = "hyprland-session.target";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue