feat: suspend on power button press
parent
c14497001a
commit
17c80b0a5a
|
@ -24,6 +24,14 @@
|
|||
logEvents = true;
|
||||
};
|
||||
|
||||
services.logind = {
|
||||
lidSwitch = "suspend";
|
||||
lidSwitchExternalPower = "ignore";
|
||||
extraConfig = ''
|
||||
HandlePowerKey=suspend
|
||||
'';
|
||||
};
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
windowManager.i3.enable = true;
|
||||
|
|
Loading…
Reference in New Issue