summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2019-04-13 14:48:26 +0200
committerlassulus <lassulus@lassul.us>2019-04-13 14:48:26 +0200
commitd03c70bb86ef1fb3e88a2dc9143faf34240feec0 (patch)
tree06d7039cd5d2275b716b656e1080c3fcfffaa0d4 /lass/2configs
parentbb2f8b9b920287df33e194a3b62d86669d8e6ddd (diff)
l hw x220: disable lid via new api
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/hw/x220.nix5
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";
}