feat: suspend on power button press
This commit is contained in:
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;
|
||||
|
Reference in New Issue
Block a user