Commit 2f0424654cf4

Vincent Demeester <vincent@sbr.pm>
2025-08-12 15:32:37
systems/nagoya: disable n8n and see if it fixes it
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent e5a555a
Changed files (1)
systems
systems/nagoya/extra.nix
@@ -19,10 +19,10 @@
     };
   };
 
-  services.n8n = {
-    enable = true;
-    webhookUrl = "http://nagoya.sbr.pm/n8n";
-  };
+  # services.n8n = {
+  #   enable = true;
+  #   webhookUrl = "http://nagoya.sbr.pm/n8n";
+  # };
 
   services.nginx = {
     enable = true;
@@ -30,20 +30,19 @@
     recommendedTlsSettings = true;
     recommendedOptimisation = true;
     virtualHosts."nagoya.sbr.pm" = {
-      locations =
-        lib.attrsets.mapAttrs' (
-          name: value:
-          lib.attrsets.nameValuePair "/syncthing/${name}/" {
-            proxyPass = "http://${builtins.head value.net.vpn.ips}:8384/";
-            recommendedProxySettings = true;
-          }
-        ) (lib.attrsets.filterAttrs (_name: value: (globals.fn.hasVPNips value)) globals.machines)
-        // {
-          "/n8n/" = {
-            proxyPass = "http://127.0.0.1:5678/";
-            recommendedProxySettings = true;
-          };
-        };
+      locations = lib.attrsets.mapAttrs' (
+        name: value:
+        lib.attrsets.nameValuePair "/syncthing/${name}/" {
+          proxyPass = "http://${builtins.head value.net.vpn.ips}:8384/";
+          recommendedProxySettings = true;
+        }
+      ) (lib.attrsets.filterAttrs (_name: value: (globals.fn.hasVPNips value)) globals.machines);
+      # // {
+      #   "/n8n/" = {
+      #     proxyPass = "http://127.0.0.1:5678/";
+      #     recommendedProxySettings = true;
+      #   };
+      # };
     };
     virtualHosts."nagoya.vpn" = {
       locations = lib.attrsets.mapAttrs' (