Suspend on lid switch
This commit is contained in:
parent
c31c0501b8
commit
0f03e82c6d
|
@ -4,6 +4,7 @@
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
services = {
|
services = {
|
||||||
accounts-daemon.enable = true;
|
accounts-daemon.enable = true;
|
||||||
|
logind.lidSwitch = "suspend";
|
||||||
logind.extraConfig = "HandlePowerKey=suspend";
|
logind.extraConfig = "HandlePowerKey=suspend";
|
||||||
};
|
};
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
|
|
Loading…
Reference in a new issue