Commit 8da5763a2fd7

Vincent Demeester <vincent@sbr.pm>
2024-10-25 01:49:08
modules/syncthing: add pictures and documents only…
… if not kerkouane… enhance this in the future to make a list. Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 9cde003
Changed files (1)
systems
modules
systems/modules/services/syncthing.nix
@@ -82,6 +82,7 @@ in
               id = "sjpsr-xfwdu";
               devices = deviceNames;
             };
+	  } // (if (config.networking.hostName != "kerkouane") then {
             "/home/vincent/desktop/documents" = {
               label = "documents";
               id = "oftdb-t5anv";
@@ -97,7 +98,7 @@ in
               id = "wpiah-ydwwx";
               devices = deviceNames;
             };
-          };
+          } else {});
         };
       }
       else {