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:
alejandro-angulo 2026-04-17 19:30:05 -07:00
parent 18b2f7165d
commit e2460ca093
2 changed files with 10 additions and 3 deletions

View file

@ -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 = {