From a02622de15d6f233a05eec70193b326b181d320a Mon Sep 17 00:00:00 2001 From: serenity-F Date: Fri, 2 Oct 2026 21:38:18 +1000 Subject: [PATCH] tweak: syncthing options --- modules/features/connectivity/syncthing.nix | 32 ++++++++++++--------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/modules/features/connectivity/syncthing.nix b/modules/features/connectivity/syncthing.nix index 6c4b4b1..54ea762 100644 --- a/modules/features/connectivity/syncthing.nix +++ b/modules/features/connectivity/syncthing.nix @@ -16,28 +16,34 @@ imports = [ inputs.home-manager.nixosModules.home-manager ]; # opens network ports for syncthing - networking.firewall = { - allowedTCPPorts = [ 8384 ]; - allowedUDPPorts = [ 8834 ]; - }; + #networking.firewall = { + #allowedTCPPorts = [ 8384 ]; + #allowedUDPPorts = [ 8834 ]; + #}; # system level syncthing options go here services.syncthing = { - #enable = true; + enable = true; + openDefaultPorts = true; + settings = { + #options = {}; + #devices = []; + #folders = []; + }; }; # user level configuration options - home-manager.users.${user-parts.user.username} = { + #home-manager.users.${user-parts.user.username} = { - # import home manager modules here - #imports = [ ]; + # import home manager modules here + #imports = [ ]; - # user level syncthing options go here - services.syncthing = { - #enable = true; - }; + # user level syncthing options go here + #services.syncthing = { + #enable = true; + #}; - }; + #}; };