summaryrefslogtreecommitdiffstats
path: root/makefu/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-01-09 16:01:46 +0100
committermakefu <github@syntax-fehler.de>2017-01-09 16:01:46 +0100
commit2f19eccf24e6b936542bbab04a435f3127c65962 (patch)
tree1c9e065d206377a9eb5484aa0c198b0a02f48749 /makefu/2configs
parent6d8e758ecf7cbcec4e00c7e72fcdc433341612a2 (diff)
m: expose torrent-secrets
Diffstat (limited to 'makefu/2configs')
-rw-r--r--makefu/2configs/torrent.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/makefu/2configs/torrent.nix b/makefu/2configs/torrent.nix
index f3bc9091b..69d40094f 100644
--- a/makefu/2configs/torrent.nix
+++ b/makefu/2configs/torrent.nix
@@ -8,13 +8,13 @@ let
peer-port = 51412;
web-port = 8112;
daemon-port = 58846;
- dl-dir = "/var/download";
+ dl-dir = config.makefu.dl-dir;
in {
# prepare secrets
krebs.build.source.torrent-secrets.file =
if getEnv "dummy_secrets" == "true"
then toString <stockholm/makefu/6tests/data/secrets>
- else "/home/makefu/secrets/torrent";
+ else config.makefu.torrent-secrets ;
users.users = {
download = {