Prevent undesirable suspends
hypridle only suspends if not connected to an external monitor and logind no longer suspends while charging
This commit is contained in:
parent
18b2f7165d
commit
e2460ca093
2 changed files with 10 additions and 3 deletions
|
|
@ -46,6 +46,12 @@
|
|||
|
||||
services.fwupd.enable = true;
|
||||
services.gvfs.enable = true;
|
||||
services.logind.settings.Login = {
|
||||
HandleLidSwitchDocked = "ignore";
|
||||
HandleLidSwitchExternalPower = "ignore";
|
||||
HandleLidSwitch = "suspend";
|
||||
KillUserProcesses = false;
|
||||
};
|
||||
|
||||
virtualisation = {
|
||||
docker = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue