Commit 375e468d839c

Vincent Demeester <vincent@sbr.pm>
2022-03-11 09:48:27
systems/aomi: enable netdata and ignore lid
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent ecc7891
Changed files (1)
systems
systems/hosts/aomi.nix
@@ -130,6 +130,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;