rtl: improve descriptions
Also move cl-rest to the bottom.
This commit is contained in:
parent
bd275d3a9a
commit
e44cd7ecdc
@ -23,12 +23,12 @@ let
|
|||||||
clightning = mkOption {
|
clightning = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = "Add a node interface for clightning.";
|
description = "Enable the clightning node interface.";
|
||||||
};
|
};
|
||||||
lnd = mkOption {
|
lnd = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = false;
|
default = false;
|
||||||
description = "Add a node interface for lnd.";
|
description = "Enable the lnd node interface.";
|
||||||
};
|
};
|
||||||
reverseOrder = mkOption {
|
reverseOrder = mkOption {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
@ -49,11 +49,25 @@ let
|
|||||||
default = false;
|
default = false;
|
||||||
description = "Enable the Night UI Theme.";
|
description = "Enable the Night UI Theme.";
|
||||||
};
|
};
|
||||||
|
user = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = "rtl";
|
||||||
|
description = "The user as which to run RTL.";
|
||||||
|
};
|
||||||
|
group = mkOption {
|
||||||
|
type = types.str;
|
||||||
|
default = cfg.user;
|
||||||
|
description = "The group as which to run RTL.";
|
||||||
|
};
|
||||||
cl-rest = {
|
cl-rest = {
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
|
readOnly = true;
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
default = cfg.nodes.clightning;
|
default = cfg.nodes.clightning;
|
||||||
description = "Enable c-lightning-REST server.";
|
description = ''
|
||||||
|
Enable c-lightning-REST server. This service is required for
|
||||||
|
clightning support and is automatically enabled.
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
address = mkOption {
|
address = mkOption {
|
||||||
readOnly = true;
|
readOnly = true;
|
||||||
@ -75,16 +89,6 @@ let
|
|||||||
description = "Swagger API documentation server port.";
|
description = "Swagger API documentation server port.";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
user = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
default = "rtl";
|
|
||||||
description = "The user as which to run RTL.";
|
|
||||||
};
|
|
||||||
group = mkOption {
|
|
||||||
type = types.str;
|
|
||||||
default = cfg.user;
|
|
||||||
description = "The group as which to run RTL.";
|
|
||||||
};
|
|
||||||
inherit (nbLib) enforceTor;
|
inherit (nbLib) enforceTor;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user