summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/rtorrent.nix
blob: 9e2990cab9ef026a4ebe796ea494c0c1eeafc078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
_:
let
  listenPort = 60123;
  xml-port = 5000;
  authfile = <torrent-secrets/authfile>;
in {
  makefu.rtorrent = {
    enable = true;
    web = {
      enable = true;
      enableAuth = true;
      inherit authfile;
    };
    rutorrent.enable = true;
    enableXMLRPC = true;
    logLevel = "debug";
    inherit listenPort;
  };
}