l 2 downloading: get rpc-password from secrets

This commit is contained in:
lassulus 2015-10-31 15:11:15 +01:00
parent 10fc9eb4ee
commit e8d41346d3

View File

@ -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;
};
};