Suspend on lid switch

This commit is contained in:
Artemis Tosini 2021-08-25 18:11:39 +00:00
parent c31c0501b8
commit 0f03e82c6d
Signed by: artemist
GPG key ID: ADFFE553DCBB831E

View file

@ -4,6 +4,7 @@
security.polkit.enable = true;
services = {
accounts-daemon.enable = true;
logind.lidSwitch = "suspend";
logind.extraConfig = "HandlePowerKey=suspend";
};
xdg.portal = {