summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2016-12-22 15:41:49 +0100
committermakefu <github@syntax-fehler.de>2016-12-22 15:41:49 +0100
commitb045564105fbd9e287fa34902b574bf0217734b5 (patch)
tree03100fdea7c540537fff85bae612af84ac0d6a07
parent3756ac532cdeea2300d658254a0c7a556c1a0e1c (diff)
m 2 torrent: use new krebs.rtorrent api
-rw-r--r--2configs/torrent.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/2configs/torrent.nix b/2configs/torrent.nix
index 5b9ce6178..f3bc9091b 100644
--- a/2configs/torrent.nix
+++ b/2configs/torrent.nix
@@ -4,7 +4,7 @@ with import <stockholm/lib>;
let
daemon-user = "tor";
- authfile = <torrent-secrets/authfile>;
+ basicAuth = import <torrent-secrets/auth.nix>;
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;