closing lid now correctly turns off monitor

This commit is contained in:
Leon Vatthauer 2024-05-27 13:26:41 +02:00
parent 54e7003bd1
commit de41080169
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8

View file

@ -52,9 +52,9 @@
services.logind.extraConfig = '' services.logind.extraConfig = ''
# dont shutdown when power button is short-pressed # dont shutdown when power button is short-pressed
HandlePowerKey=lock HandlePowerKey=suspend
''; '';
services.logind.lidSwitch = "lock"; services.logind.lidSwitch = "suspend";
networking.hostName = "absol"; networking.hostName = "absol";
# networking.wireless.enable = true; # networking.wireless.enable = true;