summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-31 15:11:15 +0100
committerlassulus <lass@aidsballs.de>2015-10-31 15:11:15 +0100
commite8d41346d34cf24652e8e77fab6bb0a0dd86a199 (patch)
tree2f221e19e9814117d9d854feaf11e181b4953d56 /lass
parent10fc9eb4ee5151bee86026cd81a73d333551b612 (diff)
l 2 downloading: get rpc-password from secrets
Diffstat (limited to 'lass')
-rw-r--r--lass/2configs/downloading.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/lass/2configs/downloading.nix b/lass/2configs/downloading.nix
index b9f3449e4..e80b74007 100644
--- a/lass/2configs/downloading.nix
+++ b/lass/2configs/downloading.nix
@@ -1,7 +1,10 @@
{ config, lib, pkgs, ... }:
with lib;
-{
+
+let
+ rpc-password = import <secrets/transmission-pw.nix>;
+in {
imports = [
../3modules/folderPerms.nix
];
@@ -46,8 +49,7 @@ with lib;
rpc-authentication-required = true;
rpc-whitelist-enabled = false;
rpc-username = "download";
- #add rpc-password in secrets
- rpc-password = "test123";
+ inherit rpc-password;
peer-port = 51413;
};
};