From 8e34b251646d7b959f9977d7b747fc955dca767e Mon Sep 17 00:00:00 2001 From: Erik Arvstedt Date: Thu, 29 Aug 2024 20:34:36 +0200 Subject: [PATCH] btcpayserver: fix lnd with "bind to any" `restAddress` --- modules/btcpayserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/btcpayserver.nix b/modules/btcpayserver.nix index 727b822..2ea7e0e 100644 --- a/modules/btcpayserver.nix +++ b/modules/btcpayserver.nix @@ -214,7 +214,7 @@ in { '' + optionalString (cfg.btcpayserver.lightningBackend == "lnd") ( "btclightning=type=lnd-rest;" + - "server=https://${cfg.lnd.restAddress}:${toString cfg.lnd.restPort}/;" + + "server=https://${nbLib.address cfg.lnd.restAddress}:${toString cfg.lnd.restPort}/;" + "macaroonfilepath=/run/lnd/btcpayserver.macaroon;" + "certfilepath=${config.services.lnd.certPath}" + "\n"