From a56bbf6dc296d1ead192d6d22617c4fca39991e7 Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 23 Jun 2020 10:19:28 +0200 Subject: [PATCH] l skynet.r: ignore lidswitch --- lass/1systems/skynet/config.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lass/1systems/skynet/config.nix b/lass/1systems/skynet/config.nix index 70787e514..1bc440a98 100644 --- a/lass/1systems/skynet/config.nix +++ b/lass/1systems/skynet/config.nix @@ -36,7 +36,6 @@ with import ; networking.wireless.enable = false; networking.networkmanager.enable = true; - services.logind.extraConfig = '' - HandleLidSwitch=ignore - ''; + services.logind.lidSwitch = "ignore"; + services.logind.lidSwitchDocked = "ignore"; }