bitcoind: use type str for rpcbind
Extra RPC bind addresses can still be added via extraConfig.
This commit is contained in:
parent
6903e8afcc
commit
8b053326cc
8 changed files with 11 additions and 11 deletions
|
|
@ -112,7 +112,7 @@ in {
|
|||
configFile = builtins.toFile "config" ''
|
||||
network=${config.services.bitcoind.network}
|
||||
btcrpcuser=${cfg.bitcoind.rpc.users.btcpayserver.name}
|
||||
btcrpcurl=http://${builtins.elemAt config.services.bitcoind.rpcbind 0}:${toString cfg.bitcoind.rpc.port}
|
||||
btcrpcurl=http://${config.services.bitcoind.rpcbind}:${toString cfg.bitcoind.rpc.port}
|
||||
btcnodeendpoint=${config.services.bitcoind.bind}:8333
|
||||
bind=${cfg.nbxplorer.bind}
|
||||
port=${toString cfg.nbxplorer.port}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue