Commit dbd92b3834dd

Vincent Demeester <vincent@sbr.pm>
2022-05-08 13:21:39
systems/aomi: do not handle lid closing
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 883b3cb
Changed files (1)
systems
systems/hosts/aomi.nix
@@ -135,6 +135,12 @@ in
   ];
 
   services = {
+    netdata.enable = true;
+    logind.extraConfig = ''
+      HandleLidSwitch=ignore
+      HandleLidSwitchExternalPower=ignore
+      HandleLidSwitchDocked=ignore
+    '';
     syncthing.guiAddress = "${metadata.hosts.aomi.wireguard.addrs.v4}:8384";
     smartd = {
       enable = true;