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
|
tlscertpath=/secrets/lnd_cert
|
||||||
tlskeypath=/secrets/lnd_key
|
tlskeypath=/secrets/lnd_key
|
||||||
|
|
||||||
|
rpclisten=localhost:${toString cfg.rpcPort}
|
||||||
|
|
||||||
bitcoin.active=1
|
bitcoin.active=1
|
||||||
bitcoin.node=bitcoind
|
bitcoin.node=bitcoind
|
||||||
|
|
||||||
|
@ -41,6 +43,11 @@ in {
|
||||||
default = "/var/lib/lnd";
|
default = "/var/lib/lnd";
|
||||||
description = "The data directory for 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 {
|
extraConfig = mkOption {
|
||||||
type = types.lines;
|
type = types.lines;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user