lnd: add option 'rpcPort'
10009 is lnd's default port. Needed for the following commit.
This commit is contained in:
parent
120e3e8cfe
commit
1868bef462
@ -12,6 +12,8 @@ let
|
||||
tlscertpath=/secrets/lnd_cert
|
||||
tlskeypath=/secrets/lnd_key
|
||||
|
||||
rpclisten=localhost:${toString cfg.rpcPort}
|
||||
|
||||
bitcoin.active=1
|
||||
bitcoin.node=bitcoind
|
||||
|
||||
@ -41,6 +43,11 @@ in {
|
||||
default = "/var/lib/lnd";
|
||||
description = "The data directory for LND.";
|
||||
};
|
||||
rpcPort = mkOption {
|
||||
type = types.ints.u16;
|
||||
default = 10009;
|
||||
description = "Port on which to listen for gRPC connections.";
|
||||
};
|
||||
extraConfig = mkOption {
|
||||
type = types.lines;
|
||||
default = "";
|
||||
|
Loading…
Reference in New Issue
Block a user