diff options
author | tv <tv@krebsco.de> | 2019-05-20 14:18:40 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2019-05-20 14:18:40 +0200 |
commit | 87e1da05aa253a629e5e188fac4c1a572e9e61de (patch) | |
tree | fa4c85eba6702250733844538b28bb57b449a1a6 | |
parent | a666abeaabbed73749cd5e2f1745b4a4527c4bc6 (diff) |
tv x220: define all the lidSwitch* T_T
-rw-r--r-- | tv/2configs/hw/x220.nix | 5 |
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"; }; |