Commit 0de91e44a5a3

Vincent Demeester <vincent@sbr.pm>
2020-11-23 10:42:12
systems: HandleLidSwitchDocked=ignore to laptop
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 088d141
Changed files (1)
systems
modules
profiles
systems/modules/profiles/laptop.nix
@@ -24,5 +24,10 @@ in
       acpi
     ];
     systemd.services.nix-gc.unitConfig.ConditionACPower = true;
+    services = {
+      logind.extraConfig = ''
+        HandleLidSwitchDocked=ignore
+      '';
+    };
   };
 }