syncthing open to local network

This commit is contained in:
Danilo Reyes 2025-07-22 10:40:15 -06:00
parent 80c8d5c33c
commit f80545784c
3 changed files with 8 additions and 1 deletions

View File

@ -30,8 +30,10 @@ in
group = "users"; group = "users";
overrideDevices = true; overrideDevices = true;
overrideFolders = true; overrideFolders = true;
openDefaultPorts = true;
key = config.sops.secrets."syncthing_keys/${hostName}".path; key = config.sops.secrets."syncthing_keys/${hostName}".path;
cert = config.sops.secrets."syncthing_certs/${hostName}".path; cert = config.sops.secrets."syncthing_certs/${hostName}".path;
guiAddress = "${config.my.ips."${hostName}"}:8384";
settings = { settings = {
devices = { devices = {
server.id = "BG6PF7S-KATABWO-7WAZFMX-6YO7IS3-WQTMR3M-VSOSV7V-HFFMNNH-BFX2EQ4"; server.id = "BG6PF7S-KATABWO-7WAZFMX-6YO7IS3-WQTMR3M-VSOSV7V-HFFMNNH-BFX2EQ4";

View File

@ -11,6 +11,7 @@
ports = [ ports = [
2049 # idk 2049 # idk
9999 # stash 9999 # stash
8384 # syncthing
]; ];
in in
{ {

View File

@ -40,7 +40,11 @@ in
to = 1764; to = 1764;
}; };
ns-usbloaderPort = 6674; ns-usbloaderPort = 6674;
openPorts = [ ns-usbloaderPort ]; syncthingPort = 8384;
openPorts = [
ns-usbloaderPort
syncthingPort
];
openPortRanges = [ kdeconnectPortRange ]; openPortRanges = [ kdeconnectPortRange ];
in in
{ {