clightning: refactor bind-addr to be IP address only
With typecheck
This commit is contained in:
parent
d99ccc8445
commit
43da15557d
3 changed files with 219 additions and 222 deletions
|
|
@ -152,7 +152,11 @@ in {
|
|||
enforceTor = true;
|
||||
always-use-proxy = true;
|
||||
};
|
||||
services.tor.hiddenServices.clightning = mkIf cfg.clightning.enable (mkHiddenService { port = cfg.clightning.onionport; toHost = (builtins.head (builtins.split ":" cfg.clightning.bind-addr)); toPort = cfg.clightning.bindport; });
|
||||
services.tor.hiddenServices.clightning = mkIf cfg.clightning.enable (mkHiddenService {
|
||||
port = cfg.clightning.onionport;
|
||||
toHost = cfg.clightning.bind-addr;
|
||||
toPort = cfg.clightning.bindport;
|
||||
});
|
||||
|
||||
# lnd
|
||||
services.lnd = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue