m 2 torrent: use new krebs.rtorrent api

This commit is contained in:
makefu 2016-12-22 15:41:49 +01:00
parent dace21d163
commit 06e57a8362
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -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;