From 8cc917caf6b9328746810b9e5d6da07b9b0d6e85 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Wed, 29 Nov 2023 15:00:54 +0100 Subject: [PATCH] syncthing server --- hosts/yodaNas/syncthing.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hosts/yodaNas/syncthing.nix b/hosts/yodaNas/syncthing.nix index 4db9f38..d2ca065 100644 --- a/hosts/yodaNas/syncthing.nix +++ b/hosts/yodaNas/syncthing.nix @@ -12,11 +12,12 @@ syncthing = { enable = true; # Whether to open the default ports in the firewall: TCP/UDP 22000 for transfers and UDP 21027 for discovery. - openDefaultPorts = true; + #openDefaultPorts = true; overrideDevices = true; # overrides any devices added or deleted through the WebUI overrideFolders = true; # overrides any folders added or deleted through the WebUI devices = { "yodaTux" = { id = "AKAIZ66-G67WC4J-WEYBOGF-TNXWBT3-BCSETRQ-2BEHCT7-GSZQRWP-IGXKSQK"; }; + "yodaTab" = { id = "WKVVVEY-P7QCRKU-HO4QHHM-B4H5NC2-I3UG2TU-UEIUACZ-ZJEAVUY-4Q6FVQV"; }; "yodaEnchilada" = { id = "BZOGQNN-KGSFOTI-5QZ7I7U-4XW5KD6-ITKMWB6-6L6QX6X-JSMAGFQ-7BOEUA5"; }; "yodaCheeseburger" = { id = "KHR22KP-WK6EL25-Z3DPLZK-5IHU7BC-QYXFQJA-U7JE2JA-ITYNV3Q-JE5VKAJ"; }; }; @@ -26,7 +27,7 @@ # Path to shared folder. path = "/mnt/data/syncthing/notes"; # Which devices to share the folder with. - devices = [ "yodaTux" "yodaEnchilada" "yodaCheeseburger" ]; + devices = [ "yodaTux" "yodaTab" "yodaEnchilada" "yodaCheeseburger" ]; }; }; };