bitcoind, clightning, lnd: improve descriptions

bitcoind: The previous description of 'prune' didn't match the int-only
values supported by our option.
This commit is contained in:
Erik Arvstedt
2021-02-01 22:53:04 +01:00
parent 7533f12ef1
commit c246bbb36e
3 changed files with 12 additions and 16 deletions

View File

@@ -41,13 +41,17 @@ in {
proxy = mkOption {
type = types.nullOr types.str;
default = if cfg.enforceTor then config.services.tor.client.socksListenAddress else null;
description = "Set a socks proxy to use to connect to Tor nodes (or for all connections if *always-use-proxy* is set)";
description = ''
Socks proxy for connecting to Tor nodes (or for all connections if option always-use-proxy is set).
'';
};
always-use-proxy = mkOption {
type = types.bool;
default = cfg.enforceTor;
description = ''
Always use the *proxy*, even to connect to normal IP addresses (you can still connect to Unix domain sockets manually). This also disables all DNS lookups, to avoid leaking information.
Always use the proxy, even to connect to normal IP addresses.
You can still connect to Unix domain sockets manually.
This also disables all DNS lookups, to avoid leaking address information.
'';
};
dataDir = mkOption {