summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/torrent.nix
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2016-12-23 18:38:37 +0100
committerlassulus <lass@lassul.us>2016-12-23 18:38:37 +0100
commitacb2f0b0427b5437c02bd976aacb45ce71508fe4 (patch)
tree663cf250e7a8e0f84636d043ff13281ff28d27a7 /makefu/2configs/torrent.nix
parentb8975f6ed4cde4af3e72f0f83624221ee6351885 (diff)
parentaf3a7e67e3d4505a35c78bc327f76b280d90e60d (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/torrent.nix')
-rw-r--r--makefu/2configs/torrent.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/makefu/2configs/torrent.nix b/makefu/2configs/torrent.nix
index 5b9ce6178..f3bc9091b 100644
--- a/makefu/2configs/torrent.nix
+++ b/makefu/2configs/torrent.nix
@@ -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;
[cgit] Unable to lock slot /tmp/cgit/72000000.lock: No such file or directory (2)