summaryrefslogtreecommitdiffstats
path: root/tv/2configs
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
commitf818e9eacc0af8be13cc1644f3fb3bdd9eb4463e (patch)
tree7cd939b89562f38694d16e968a1927d932ac3ad8 /tv/2configs
parentb0ff7b56d34a64d4a8fea5ec1d0ebec30cef4aeb (diff)
tv x220: define all the lidSwitch* T_T
Diffstat (limited to 'tv/2configs')
-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 35e7d89..699b4a8 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";
};