diff options
| author | lassulus <lass@aidsballs.de> | 2015-10-31 15:11:15 +0100 | 
|---|---|---|
| committer | lassulus <lass@aidsballs.de> | 2015-10-31 15:11:15 +0100 | 
| commit | e8d41346d34cf24652e8e77fab6bb0a0dd86a199 (patch) | |
| tree | 2f221e19e9814117d9d854feaf11e181b4953d56 | |
| parent | 10fc9eb4ee5151bee86026cd81a73d333551b612 (diff) | |
l 2 downloading: get rpc-password from secrets
| -rw-r--r-- | lass/2configs/downloading.nix | 8 | 
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;      };    }; | 
