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 | f818e9eacc0af8be13cc1644f3fb3bdd9eb4463e (patch) | |
tree | 7cd939b89562f38694d16e968a1927d932ac3ad8 /tv/2configs/hw | |
parent | b0ff7b56d34a64d4a8fea5ec1d0ebec30cef4aeb (diff) |
tv x220: define all the lidSwitch* T_T
Diffstat (limited to 'tv/2configs/hw')
-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 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"; }; |