summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/rtorrent.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-08-24 08:49:16 +0200
committerlassulus <lass@aidsballs.de>2016-08-24 08:49:16 +0200
commit662222f8c422ac8fa3daba8bc26ab5d5cd37fda1 (patch)
tree93d5629203803e06b6f9a60219ac7b0ce315399c /makefu/2configs/rtorrent.nix
parenta545159c08c6a748299111184ba5a34b40d7af67 (diff)
parent56e8681fd2d5a77fe539e5506b4b8f23bc0f4261 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/rtorrent.nix')
-rw-r--r--makefu/2configs/rtorrent.nix19
1 files changed, 19 insertions, 0 deletions
diff --git a/makefu/2configs/rtorrent.nix b/makefu/2configs/rtorrent.nix
new file mode 100644
index 000000000..9e2990cab
--- /dev/null
+++ b/makefu/2configs/rtorrent.nix
@@ -0,0 +1,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;
+ };
+}