From b045564105fbd9e287fa34902b574bf0217734b5 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 22 Dec 2016 15:41:49 +0100 Subject: [PATCH] m 2 torrent: use new krebs.rtorrent api --- 2configs/torrent.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/2configs/torrent.nix b/2configs/torrent.nix index 5b9ce61..f3bc909 100644 --- a/2configs/torrent.nix +++ b/2configs/torrent.nix @@ -4,7 +4,7 @@ with import ; let daemon-user = "tor"; - authfile = ; + basicAuth = import ; peer-port = 51412; web-port = 8112; daemon-port = 58846; @@ -53,9 +53,8 @@ in { enable = true; web = { enable = true; - enableAuth = true; - listenAddress = toString web-port; - inherit authfile; + port = web-port; + inherit basicAuth; }; rutorrent.enable = true; enableXMLRPC = true;