clightning: add consistent address options

Also remove option 'autolisten'. This option has no effect because
option 'bind-addr' is always set.
This commit is contained in:
Erik Arvstedt 2021-01-14 13:24:04 +01:00
parent b41a720c28
commit e78a609687
No known key found for this signature in database
GPG key ID: 33312B944DD97846
5 changed files with 15 additions and 23 deletions

View file

@ -68,8 +68,8 @@ in {
services.clightning.enforceTor = true;
services.tor.hiddenServices.clightning = mkIf cfg.clightning.enable (mkHiddenService {
port = cfg.clightning.onionport;
toHost = cfg.clightning.bind-addr;
toPort = cfg.clightning.bindport;
toHost = cfg.clightning.address;
toPort = cfg.clightning.port;
});
# lnd