ignore power button

This commit is contained in:
UGA Innovation Factory
2025-12-08 21:51:26 +00:00
parent 1a23a9dbd4
commit 0b3e750b2f

View File

@@ -110,6 +110,15 @@
'';
};
};
services.logind.extraConfig = ''
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
IdleAction=ignore
'';
# Enable networking
networking.networkmanager.enable = false;