liquidd: add netns

- Adds liquidd to netns-isolation.services
- Adds rpcbind, rpcallowip, and mainchainrpchost options to allow using
  liquidd with network namespaces
- Adds bind option (defaults to localhost) as target of hidden service
This commit is contained in:
nixbitcoin
2020-06-10 14:36:03 +00:00
parent 4b8ca52647
commit 672a416ede
3 changed files with 53 additions and 1 deletions

View File

@@ -107,7 +107,7 @@ in {
enforceTor = true;
port = 7042;
};
services.tor.hiddenServices.liquidd = mkHiddenService { port = cfg.liquidd.port; };
services.tor.hiddenServices.liquidd = mkHiddenService { port = cfg.liquidd.port; toHost = cfg.liquidd.bind; };
# electrs
services.electrs = {