2016-08-22 16:42:03 +00:00
|
|
|
_:
|
|
|
|
let
|
|
|
|
listenPort = 60123;
|
|
|
|
xml-port = 5000;
|
2016-08-23 11:09:16 +00:00
|
|
|
authfile = <torrent-secrets/authfile>;
|
2016-08-22 16:42:03 +00:00
|
|
|
in {
|
|
|
|
makefu.rtorrent = {
|
|
|
|
enable = true;
|
2016-08-23 11:09:16 +00:00
|
|
|
web = {
|
|
|
|
enable = true;
|
|
|
|
enableAuth = true;
|
|
|
|
inherit authfile;
|
|
|
|
};
|
|
|
|
rutorrent.enable = true;
|
|
|
|
enableXMLRPC = true;
|
2016-08-22 16:42:03 +00:00
|
|
|
logLevel = "debug";
|
|
|
|
inherit listenPort;
|
|
|
|
};
|
|
|
|
}
|