From c64b898dd80a03d643fc877de345d138cbc0725b Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Sat, 5 Aug 2017 10:43:25 +0200 Subject: [PATCH] aplysia: transmission --- aplysia.nix | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/aplysia.nix b/aplysia.nix index 0a31683..2a3597a 100644 --- a/aplysia.nix +++ b/aplysia.nix @@ -56,10 +56,26 @@ }; }; - networking.firewall = { - # samba - allowedTCPPorts = [ 445 139 ]; - allowedUDPPorts = [ 137 138 ]; + services.transmission = { + enable = true; + settings = { + download-dir = "/mnt/aplysia/torrents"; + incomplete-dir = "/mnt/aplysia/torrents"; + }; }; + networking.firewall = { + allowedTCPPorts = [ + 445 139 # samba + ]; + allowedUDPPorts = [ + 137 138 # samba + ]; + }; + + environment.systemPackages = with pkgs; [ + transmission + samba + ]; + }