From bdb0d3d9cc72788a97d60195f95b7846c7d89375 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 24 Aug 2016 18:45:19 +0200 Subject: l 2 downloading: transmission -> rtorrent --- lass/2configs/downloading.nix | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'lass/2configs/downloading.nix') diff --git a/lass/2configs/downloading.nix b/lass/2configs/downloading.nix index a6de7c581..1bba5b416 100644 --- a/lass/2configs/downloading.nix +++ b/lass/2configs/downloading.nix @@ -2,10 +2,7 @@ with config.krebs.lib; -let - rpc-password = import ; -in { - +{ users.extraUsers = { download = { name = "download"; @@ -39,19 +36,20 @@ in { }; }; - services.transmission = { + krebs.rtorrent = { enable = true; - settings = { - download-dir = "/var/download/finished"; - incomplete-dir = "/var/download/incoming"; - incomplete-dir-enabled = true; - - rpc-authentication-required = true; - rpc-whitelist-enabled = false; - rpc-username = "download"; - inherit rpc-password; - peer-port = 51413; + web = { + enable = true; + enableAuth = true; + listenAddress = "9091"; + authfile = ; }; + rutorrent.enable = true; + enableXMLRPC = true; + listenPort = 51413; + downloadDir = "/var/download/finished"; + # dump old torrents into watch folder to have them re-added + watchDir = "/var/download/watch"; }; krebs.iptables = { -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/2e000000.lock: No such file or directory (2)