clightning: add bindport option

This commit is contained in:
nixbitcoin
2020-08-04 07:35:07 +00:00
parent b6179639fe
commit d99ccc8445
3 changed files with 8 additions and 3 deletions

View File

@@ -152,7 +152,7 @@ in {
enforceTor = true;
always-use-proxy = true;
};
services.tor.hiddenServices.clightning = mkIf cfg.clightning.enable (mkHiddenService { port = cfg.clightning.onionport; toHost = (builtins.head (builtins.split ":" cfg.clightning.bind-addr)); });
services.tor.hiddenServices.clightning = mkIf cfg.clightning.enable (mkHiddenService { port = cfg.clightning.onionport; toHost = (builtins.head (builtins.split ":" cfg.clightning.bind-addr)); toPort = cfg.clightning.bindport; });
# lnd
services.lnd = {