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