diff options
author | adisbladis <adisbladis@gmail.com> | 2019-04-15 17:11:10 +0100 |
---|---|---|
committer | adisbladis <adisbladis@gmail.com> | 2019-04-15 17:11:10 +0100 |
commit | 9a176d669a21a8dfccee07c8d4d81cc35cabcc39 (patch) | |
tree | aab626a3febe69116cff055107c914a86b9a8251 /nixos/modules/services/networking/tox-node.nix | |
parent | 7d0db6af7ecc7ae2726da5b661ff9cc21a5a2764 (diff) |
nixos/tox-node: Add descriptions to module options.
Missing these broke the tarball build https://hydra.nixos.org/build/92258938/nixlog/1
Diffstat (limited to 'nixos/modules/services/networking/tox-node.nix')
-rw-r--r-- | nixos/modules/services/networking/tox-node.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/tox-node.nix b/nixos/modules/services/networking/tox-node.nix index 26d77860cad09..c24e7fd128508 100644 --- a/nixos/modules/services/networking/tox-node.nix +++ b/nixos/modules/services/networking/tox-node.nix @@ -38,34 +38,42 @@ in { logType = mkOption { type = types.enum [ "Stderr" "Stdout" "Syslog" "None" ]; default = "Stderr"; + description = "Logging implementation."; }; keysFile = mkOption { type = types.str; default = "${homeDir}/keys"; + description = "Path to the file where DHT keys are stored."; }; udpAddress = mkOption { type = types.str; default = "0.0.0.0:33445"; + description = "UDP address to run DHT node."; }; tcpAddresses = mkOption { type = types.listOf types.str; default = [ "0.0.0.0:33445" ]; + description = "TCP addresses to run TCP relay."; }; tcpConnectionLimit = mkOption { type = types.int; default = 8192; + description = "Maximum number of active TCP connections relay can hold"; }; lanDiscovery = mkOption { type = types.bool; default = true; + description = "Enable local network discovery."; }; threads = mkOption { type = types.int; default = 1; + description = "Number of threads for execution"; }; motd = mkOption { type = types.str; default = "Hi from tox-rs! I'm up {{uptime}}. TCP: incoming {{tcp_packets_in}}, outgoing {{tcp_packets_out}}, UDP: incoming {{udp_packets_in}}, outgoing {{udp_packets_out}}"; + description = "Message of the day"; }; }; |