nixos/tox-node: Add descriptions to module options.

Missing these broke the tarball build
https://hydra.nixos.org/build/92258938/nixlog/1
This commit is contained in:
adisbladis 2019-04-15 17:11:10 +01:00
parent 7d0db6af7e
commit 9a176d669a
No known key found for this signature in database
GPG Key ID: 110BFAD44C6249B7
1 changed files with 8 additions and 0 deletions

View File

@ -38,34 +38,42 @@ in {
logType = mkOption { logType = mkOption {
type = types.enum [ "Stderr" "Stdout" "Syslog" "None" ]; type = types.enum [ "Stderr" "Stdout" "Syslog" "None" ];
default = "Stderr"; default = "Stderr";
description = "Logging implementation.";
}; };
keysFile = mkOption { keysFile = mkOption {
type = types.str; type = types.str;
default = "${homeDir}/keys"; default = "${homeDir}/keys";
description = "Path to the file where DHT keys are stored.";
}; };
udpAddress = mkOption { udpAddress = mkOption {
type = types.str; type = types.str;
default = "0.0.0.0:33445"; default = "0.0.0.0:33445";
description = "UDP address to run DHT node.";
}; };
tcpAddresses = mkOption { tcpAddresses = mkOption {
type = types.listOf types.str; type = types.listOf types.str;
default = [ "0.0.0.0:33445" ]; default = [ "0.0.0.0:33445" ];
description = "TCP addresses to run TCP relay.";
}; };
tcpConnectionLimit = mkOption { tcpConnectionLimit = mkOption {
type = types.int; type = types.int;
default = 8192; default = 8192;
description = "Maximum number of active TCP connections relay can hold";
}; };
lanDiscovery = mkOption { lanDiscovery = mkOption {
type = types.bool; type = types.bool;
default = true; default = true;
description = "Enable local network discovery.";
}; };
threads = mkOption { threads = mkOption {
type = types.int; type = types.int;
default = 1; default = 1;
description = "Number of threads for execution";
}; };
motd = mkOption { motd = mkOption {
type = types.str; 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}}"; 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";
}; };
}; };