suspend on power key

This commit is contained in:
twoneis 2024-10-03 21:51:50 +02:00
parent c90cbb29cc
commit 8afe7db52f

View file

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