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

View file

@ -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";
};
};