diff --git a/modules/bitcoind.nix b/modules/bitcoind.nix index d93bf81..028c4ed 100644 --- a/modules/bitcoind.nix +++ b/modules/bitcoind.nix @@ -197,9 +197,7 @@ in { listen = mkOption { type = types.bool; default = false; - description = '' - If enabled, the bitcoin service will listen. - ''; + description = "Accept incoming connections."; }; dataDirReadableByGroup = mkOption { type = types.bool; @@ -228,21 +226,15 @@ in { type = types.nullOr (types.ints.between 4 16384); default = null; example = 4000; - description = "Override the default database cache size in megabytes."; + description = "Override the default database cache size in MiB."; }; prune = mkOption { type = types.ints.unsigned; default = 0; example = 10000; description = '' - Reduce storage requirements by enabling pruning (deleting) of old - blocks. This allows the pruneblockchain RPC to be called to delete - specific blocks, and enables automatic pruning of old blocks if a - target size in MiB is provided. This mode is incompatible with -txindex - and -rescan. Warning: Reverting this setting requires re-downloading - the entire blockchain. ("disable" = disable pruning blocks, "manual" - = allow manual pruning via RPC, >=550 = automatically prune block files - to stay under the specified target size in MiB) + Automatically prune block files to stay under the specified target size in MiB. + Value 0 disables pruning. ''; }; zmqpubrawblock = mkOption { @@ -281,7 +273,7 @@ in { type = types.nullOr types.str; default = null; example = "bech32"; - description = "What type of addresses to use"; + description = "The type of addresses to use"; }; cli = mkOption { readOnly = true; diff --git a/modules/clightning.nix b/modules/clightning.nix index 8e52b04..cea6267 100644 --- a/modules/clightning.nix +++ b/modules/clightning.nix @@ -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 { diff --git a/modules/lnd.nix b/modules/lnd.nix index 4899dac..3a361e4 100644 --- a/modules/lnd.nix +++ b/modules/lnd.nix @@ -89,7 +89,7 @@ in { tor-socks = 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"; + description = "Socks proxy for connecting to Tor nodes"; }; macaroons = mkOption { default = {};