diff --git a/aplysia.nix b/aplysia.nix index d6a8af8..e845377 100644 --- a/aplysia.nix +++ b/aplysia.nix @@ -51,6 +51,7 @@ shares = { export = { "guest ok" = "no"; + "read only" = "no"; path = "/mnt/aplysia"; }; }; @@ -61,12 +62,15 @@ settings = { download-dir = "/mnt/aplysia/torrents"; incomplete-dir = "/mnt/aplysia/torrents"; + + peer-port = 51413; }; }; networking.firewall = { allowedTCPPorts = [ 445 139 # samba + config.services.transmission.settings.peer-port ]; allowedUDPPorts = [ 137 138 # samba diff --git a/vaccaria.nix b/vaccaria.nix index c73bab4..177543f 100644 --- a/vaccaria.nix +++ b/vaccaria.nix @@ -41,6 +41,7 @@ shares = { export = { "guest ok" = "no"; + "read only" = "no"; path = "/mnt/vaccaria"; }; }; @@ -51,12 +52,15 @@ # settings = { # download-dir = "/mnt/aplysia/torrents"; # incomplete-dir = "/mnt/aplysia/torrents"; +# +# peer-port = 51413; # }; # }; networking.firewall = { allowedTCPPorts = [ 445 139 # samba + # config.services.transmission.settings.peer-port ]; allowedUDPPorts = [ 137 138 # samba