Add rpc user and password as secrets

This commit is contained in:
Jonas Nick 2018-11-22 23:51:16 +00:00
parent 83eabcf952
commit 79aab1255a
7 changed files with 36 additions and 6 deletions

View file

@ -14,7 +14,7 @@ let
discover=0
${optionalString (cfg.port != null) "port=${toString cfg.port}"}
${optionalString (cfg.rpcuser != null) "rpcuser=${cfg.rpcuser}"}
${optionalString (cfg.rpcpassword != null) "rpcuser=${cfg.rpcpassword}"}
${optionalString (cfg.rpcpassword != null) "rpcpassword=${cfg.rpcpassword}"}
'';
in {
options.services.bitcoin = {