btcpayserver: use option bitcoind.rpc.port
This commit is contained in:
parent
6f4715ac2a
commit
001f8fe8d3
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ in {
|
|||
configFile = builtins.toFile "config" ''
|
||||
network=mainnet
|
||||
btcrpcuser=${cfg.bitcoind.rpc.users.btcpayserver.name}
|
||||
btcrpcurl=http://${builtins.elemAt config.services.bitcoind.rpcbind 0}:8332
|
||||
btcrpcurl=http://${builtins.elemAt config.services.bitcoind.rpcbind 0}:${toString cfg.bitcoind.rpc.port}
|
||||
btcnodeendpoint=${config.services.bitcoind.bind}:8333
|
||||
bind=${cfg.nbxplorer.bind}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue