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";
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";

View File

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

View File

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