liquidd: add consistent address options

This commit is contained in:
Erik Arvstedt
2021-01-14 13:24:07 +01:00
parent b5d76ba1b3
commit 39f16c0b4a
3 changed files with 26 additions and 35 deletions

View File

@@ -86,9 +86,8 @@ in {
validatepegin = true;
listen = true;
enforceTor = true;
port = 7042;
};
services.tor.hiddenServices.liquidd = mkIf cfg.liquidd.enable (mkHiddenService { port = cfg.liquidd.port; toHost = cfg.liquidd.bind; });
services.tor.hiddenServices.liquidd = mkIf cfg.liquidd.enable (mkHiddenService { port = cfg.liquidd.port; toHost = cfg.liquidd.address; });
# electrs
services.electrs = {