Refactor onion service configuration for LND

This commit is contained in:
Sovran Systems
2026-08-10 09:55:59 -05:00
committed by GitHub
parent 3baf504c60
commit dac733de9a
+2 -2
View File
@@ -54,8 +54,8 @@ in {
})
(mkIf (cfg.lndconnect.enable && cfg.lndconnect.onion) {
services.tor.relay.onionServices.lnd = nbLib.mkOnionService {
map = [{ port = cfg.restPort; target = { addr = nbLib.address cfg.restAddress; port = cfg.restPort; }; }];
version = 3;
port = cfg.restPort;
target = { addr = nbLib.address cfg.restAddress; port = cfg.restPort; };
};
nix-bitcoin.onionAddresses.access.${operatorName} = [ "lnd" ];
})