From 9a176d669a21a8dfccee07c8d4d81cc35cabcc39 Mon Sep 17 00:00:00 2001 From: adisbladis Date: Mon, 15 Apr 2019 17:11:10 +0100 Subject: [PATCH] nixos/tox-node: Add descriptions to module options. Missing these broke the tarball build https://hydra.nixos.org/build/92258938/nixlog/1 --- nixos/modules/services/networking/tox-node.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/modules/services/networking/tox-node.nix b/nixos/modules/services/networking/tox-node.nix index 26d77860cad..c24e7fd1285 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"; }; };