suspend on power button

This commit is contained in:
twoneis 2024-08-26 16:14:42 +02:00
parent f3454f98d6
commit b77f7f5e80

View file

@ -28,7 +28,7 @@ in {
}; };
services.logind = { services.logind = {
powerKey = "ignore"; powerKey = "suspend";
powerKeyLongPress = "poweroff"; powerKeyLongPress = "poweroff";
lidSwitch = "suspend"; lidSwitch = "suspend";
lidSwitchDocked = "ignore"; lidSwitchDocked = "ignore";