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