diff --git a/config/jawz.nix b/config/jawz.nix index d80a8d6..b0bc366 100644 --- a/config/jawz.nix +++ b/config/jawz.nix @@ -30,8 +30,10 @@ in group = "users"; overrideDevices = true; overrideFolders = true; + openDefaultPorts = true; key = config.sops.secrets."syncthing_keys/${hostName}".path; cert = config.sops.secrets."syncthing_certs/${hostName}".path; + guiAddress = "${config.my.ips."${hostName}"}:8384"; settings = { devices = { server.id = "BG6PF7S-KATABWO-7WAZFMX-6YO7IS3-WQTMR3M-VSOSV7V-HFFMNNH-BFX2EQ4"; diff --git a/hosts/server/configuration.nix b/hosts/server/configuration.nix index c8eb23b..1725619 100644 --- a/hosts/server/configuration.nix +++ b/hosts/server/configuration.nix @@ -11,6 +11,7 @@ ports = [ 2049 # idk 9999 # stash + 8384 # syncthing ]; in { diff --git a/hosts/workstation/configuration.nix b/hosts/workstation/configuration.nix index 350ab09..c7eebf4 100644 --- a/hosts/workstation/configuration.nix +++ b/hosts/workstation/configuration.nix @@ -40,7 +40,11 @@ in to = 1764; }; ns-usbloaderPort = 6674; - openPorts = [ ns-usbloaderPort ]; + syncthingPort = 8384; + openPorts = [ + ns-usbloaderPort + syncthingPort + ]; openPortRanges = [ kdeconnectPortRange ]; in {