mirror of
https://github.com/fort-nix/nix-bitcoin.git
synced 2024-11-22 13:14:15 +03:00
btcpayserver: fix lnd with "bind to any" restAddress
This commit is contained in:
parent
31b79391cf
commit
8e34b25164
@ -214,7 +214,7 @@ in {
|
|||||||
'' + optionalString (cfg.btcpayserver.lightningBackend == "lnd")
|
'' + optionalString (cfg.btcpayserver.lightningBackend == "lnd")
|
||||||
(
|
(
|
||||||
"btclightning=type=lnd-rest;" +
|
"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;" +
|
"macaroonfilepath=/run/lnd/btcpayserver.macaroon;" +
|
||||||
"certfilepath=${config.services.lnd.certPath}" +
|
"certfilepath=${config.services.lnd.certPath}" +
|
||||||
"\n"
|
"\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user