diff options
author | lassulus <lassulus@lassul.us> | 2019-04-13 14:48:26 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2019-04-13 14:48:26 +0200 |
commit | d03c70bb86ef1fb3e88a2dc9143faf34240feec0 (patch) | |
tree | 06d7039cd5d2275b716b656e1080c3fcfffaa0d4 | |
parent | bb2f8b9b920287df33e194a3b62d86669d8e6ddd (diff) |
l hw x220: disable lid via new api
-rw-r--r-- | lass/2configs/hw/x220.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lass/2configs/hw/x220.nix b/lass/2configs/hw/x220.nix index f5651da13..5649041f9 100644 --- a/lass/2configs/hw/x220.nix +++ b/lass/2configs/hw/x220.nix @@ -30,8 +30,7 @@ }; }; - services.logind.extraConfig = '' - HandleLidSwitch=ignore - ''; + services.logind.lidSwitch = "ignore"; + services.logind.lidSwitchDocked = "ignore"; } |