From 001f8fe8d3c617a17a47b4ba943cbea53bc07e39 Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Fri, 16 Oct 2020 17:43:10 +0200 Subject: [PATCH] btcpayserver: use option bitcoind.rpc.port --- modules/btcpayserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/btcpayserver.nix b/modules/btcpayserver.nix index ab69837..a5f43ff 100644 --- a/modules/btcpayserver.nix +++ b/modules/btcpayserver.nix @@ -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} '';