bitcoind: use type str for rpcbind

Extra RPC bind addresses can still be added via extraConfig.
This commit is contained in:
Erik Arvstedt 2020-10-29 21:20:32 +01:00
parent 6903e8afcc
commit 8b053326cc
No known key found for this signature in database
GPG key ID: 33312B944DD97846
8 changed files with 11 additions and 11 deletions

View file

@ -13,7 +13,7 @@ let
${optionalString (cfg.proxy != null) "proxy=${cfg.proxy}"}
always-use-proxy=${if cfg.always-use-proxy then "true" else "false"}
bind-addr=${cfg.bind-addr}:${toString cfg.bindport}
bitcoin-rpcconnect=${builtins.elemAt config.services.bitcoind.rpcbind 0}
bitcoin-rpcconnect=${config.services.bitcoind.rpcbind}
bitcoin-rpcport=${toString config.services.bitcoind.rpc.port}
bitcoin-rpcuser=${config.services.bitcoind.rpc.users.public.name}
rpc-file-mode=0660