summaryrefslogtreecommitdiffstats
path: root/tv/2configs/hw
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-05-20 14:18:40 +0200
committertv <tv@krebsco.de>2019-05-20 14:18:40 +0200
commit87e1da05aa253a629e5e188fac4c1a572e9e61de (patch)
treefa4c85eba6702250733844538b28bb57b449a1a6 /tv/2configs/hw
parenta666abeaabbed73749cd5e2f1745b4a4527c4bc6 (diff)
tv x220: define all the lidSwitch* T_T
Diffstat (limited to 'tv/2configs/hw')
-rw-r--r--tv/2configs/hw/x220.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/tv/2configs/hw/x220.nix b/tv/2configs/hw/x220.nix
index 35e7d8941..699b4a87e 100644
--- a/tv/2configs/hw/x220.nix
+++ b/tv/2configs/hw/x220.nix
@@ -57,6 +57,11 @@
HandleSuspendKey=ignore
'';
+ # because extraConfig is not extra enough:
+ services.logind.lidSwitch = "ignore";
+ services.logind.lidSwitchDocked = "ignore";
+ services.logind.lidSwitchExternalPower = "ignore";
+
services.xserver = {
videoDriver = "intel";
};