lnd: add netns

- Adds lnd to netns-isolation.services
- Specifies listen option (defaults to localhost) as target of
  hiddenService.
- Amends hardcoded lnd ip to lnd-cert

WARNING: Breaking changes for lnd cert. lnd-key and lnd-cert will have
to be deleted and redeployed.
This commit is contained in:
nixbitcoin
2020-07-21 09:38:35 +00:00
parent f3d2aaa5d4
commit c55296433d
3 changed files with 21 additions and 1 deletions
+1 -1
View File
@@ -91,7 +91,7 @@ in {
tor-socks = cfg.tor.client.socksListenAddress;
enforceTor = true;
};
services.tor.hiddenServices.lnd = mkHiddenService { port = cfg.lnd.onionport; };
services.tor.hiddenServices.lnd = mkHiddenService { port = cfg.lnd.onionport; toHost = cfg.lnd.listen; };
# liquidd
services.liquidd = {