types.uniq types.bool -> types.bool

This commit is contained in:
Eelco Dolstra 2015-06-15 18:10:26 +02:00
parent 9366af1b94
commit c738b309ee
25 changed files with 37 additions and 37 deletions

View File

@ -43,7 +43,7 @@ rec {
}; };
_module.check = mkOption { _module.check = mkOption {
type = types.uniq types.bool; type = types.bool;
internal = true; internal = true;
default = check; default = check;
description = "Whether to check whether all option definitions have matching declarations."; description = "Whether to check whether all option definitions have matching declarations.";

View File

@ -55,7 +55,7 @@ in
enable = mkOption { enable = mkOption {
default = false; default = false;
description = "Whether to enable the influxdb server"; description = "Whether to enable the influxdb server";
type = types.uniq types.bool; type = types.bool;
}; };
package = mkOption { package = mkOption {

View File

@ -43,7 +43,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable neo4j."; description = "Whether to enable neo4j.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
package = mkOption { package = mkOption {

View File

@ -33,7 +33,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable Apache Kafka."; description = "Whether to enable Apache Kafka.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
brokerId = mkOption { brokerId = mkOption {

View File

@ -13,7 +13,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable the Mesos Master."; description = "Whether to enable the Mesos Master.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
port = mkOption { port = mkOption {

View File

@ -21,7 +21,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable the Mesos Slave."; description = "Whether to enable the Mesos Slave.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
ip = mkOption { ip = mkOption {

View File

@ -27,7 +27,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable Zookeeper."; description = "Whether to enable Zookeeper.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
port = mkOption { port = mkOption {

View File

@ -74,7 +74,7 @@ in
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
description = '' description = ''
Whether to enable the APC UPS daemon. apcupsd monitors your UPS and Whether to enable the APC UPS daemon. apcupsd monitors your UPS and
permits orderly shutdown of your computer in the event of a power permits orderly shutdown of your computer in the event of a power

View File

@ -67,7 +67,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable graphite web frontend."; description = "Whether to enable graphite web frontend.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
host = mkOption { host = mkOption {
@ -95,7 +95,7 @@ in {
<link xlink:href="http://graphite-api.readthedocs.org/en/latest/"/> <link xlink:href="http://graphite-api.readthedocs.org/en/latest/"/>
''; '';
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
finders = mkOption { finders = mkOption {
@ -177,7 +177,7 @@ in {
enableCache = mkOption { enableCache = mkOption {
description = "Whether to enable carbon cache, the graphite storage daemon."; description = "Whether to enable carbon cache, the graphite storage daemon.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
storageAggregation = mkOption { storageAggregation = mkOption {
@ -234,7 +234,7 @@ in {
enableRelay = mkOption { enableRelay = mkOption {
description = "Whether to enable carbon relay, the carbon replication and sharding service."; description = "Whether to enable carbon relay, the carbon replication and sharding service.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
relayRules = mkOption { relayRules = mkOption {
@ -251,7 +251,7 @@ in {
enableAggregator = mkOption { enableAggregator = mkOption {
description = "Whether to enable carbon agregator, the carbon buffering service."; description = "Whether to enable carbon agregator, the carbon buffering service.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
aggregationRules = mkOption { aggregationRules = mkOption {
@ -269,7 +269,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable seyren service."; description = "Whether to enable seyren service.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
port = mkOption { port = mkOption {
@ -319,7 +319,7 @@ in {
<link xlink:href="https://github.com/seatgeek/graphite-pager"/> <link xlink:href="https://github.com/seatgeek/graphite-pager"/>
''; '';
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
redisUrl = mkOption { redisUrl = mkOption {

View File

@ -37,7 +37,7 @@ in
enable = mkOption { enable = mkOption {
description = "Whether to enable statsd stats aggregation service"; description = "Whether to enable statsd stats aggregation service";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
host = mkOption { host = mkOption {

View File

@ -137,7 +137,7 @@ in
nsswins = mkOption { nsswins = mkOption {
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
description = '' description = ''
Whether to enable the WINS NSS (Name Service Switch) plug-in. Whether to enable the WINS NSS (Name Service Switch) plug-in.
Enabling it allows applications to resolve WINS/NetBIOS names (a.k.a. Enabling it allows applications to resolve WINS/NetBIOS names (a.k.a.

View File

@ -18,7 +18,7 @@ in
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
description = '' description = ''
Whenever to enable the atftpd TFTP server. Whenever to enable the atftpd TFTP server.
''; '';

View File

@ -20,7 +20,7 @@ in
services.freenet = { services.freenet = {
enable = mkOption { enable = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = "Enable the Freenet daemon"; description = "Enable the Freenet daemon";
}; };

View File

@ -20,13 +20,13 @@ in
services.iodined = { services.iodined = {
enable = mkOption { enable = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = "Enable iodine, ip over dns daemon"; description = "Enable iodine, ip over dns daemon";
}; };
client = mkOption { client = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = "Start iodine in client mode"; description = "Start iodine in client mode";
}; };

View File

@ -16,7 +16,7 @@ rec {
services.kippo = { services.kippo = {
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
description = ''Enable the kippo honeypot ssh server.''; description = ''Enable the kippo honeypot ssh server.'';
}; };
port = mkOption { port = mkOption {

View File

@ -31,7 +31,7 @@ with lib;
services.notbit = { services.notbit = {
enable = mkOption { enable = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = '' description = ''
Enables the notbit daemon and provides a sendmail binary named `notbit-system-sendmail` for sending mail over the system instance of notbit. Users must be in the notbit group in order to send mail over the system notbit instance. Currently mail recipt is not supported. Enables the notbit daemon and provides a sendmail binary named `notbit-system-sendmail` for sending mail over the system instance of notbit. Users must be in the notbit group in order to send mail over the system notbit instance. Currently mail recipt is not supported.
@ -65,19 +65,19 @@ with lib;
}; };
specifiedPeersOnly = mkOption { specifiedPeersOnly = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = "If true, notbit will only connect to peers specified by the peers option."; description = "If true, notbit will only connect to peers specified by the peers option.";
}; };
allowPrivateAddresses = mkOption { allowPrivateAddresses = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = "If true, notbit will allow connections to to RFC 1918 addresses."; description = "If true, notbit will allow connections to to RFC 1918 addresses.";
}; };
noBootstrap = mkOption { noBootstrap = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = "If true, notbit will not bootstrap an initial peerlist from bitmessage.org servers"; description = "If true, notbit will not bootstrap an initial peerlist from bitmessage.org servers";
}; };

View File

@ -25,7 +25,7 @@ in
options = { options = {
services.unifi.enable = mkOption { services.unifi.enable = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = '' description = ''
Whether or not to enable the unifi controller service. Whether or not to enable the unifi controller service.

View File

@ -13,7 +13,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable graphite web frontend."; description = "Whether to enable graphite web frontend.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
httpPort = mkOption { httpPort = mkOption {

View File

@ -12,7 +12,7 @@ in {
options.services.marathon = { options.services.marathon = {
enable = mkOption { enable = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = '' description = ''
Whether to enable the marathon mesos framework. Whether to enable the marathon mesos framework.

View File

@ -34,7 +34,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable elasticsearch."; description = "Whether to enable elasticsearch.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
host = mkOption { host = mkOption {

View File

@ -20,7 +20,7 @@ in {
enable = mkOption { enable = mkOption {
description = "Whether to enable peerflix service."; description = "Whether to enable peerflix service.";
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
}; };
stateDir = mkOption { stateDir = mkOption {

View File

@ -27,7 +27,7 @@ in
options = { options = {
services.transmission = { services.transmission = {
enable = mkOption { enable = mkOption {
type = types.uniq types.bool; type = types.bool;
default = false; default = false;
description = '' description = ''
Whether or not to enable the headless Transmission BitTorrent daemon. Whether or not to enable the headless Transmission BitTorrent daemon.

View File

@ -15,7 +15,7 @@ in
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
description = '' description = ''
If true, enable cgit (fast web interface for git repositories) as a If true, enable cgit (fast web interface for git repositories) as a
sub-service in lighttpd. cgit will be accessible at sub-service in lighttpd. cgit will be accessible at

View File

@ -122,7 +122,7 @@ in
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
description = '' description = ''
Enable the lighttpd web server. Enable the lighttpd web server.
''; '';
@ -146,7 +146,7 @@ in
mod_userdir = mkOption { mod_userdir = mkOption {
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
description = '' description = ''
If true, requests in the form /~user/page.html are rewritten to take If true, requests in the form /~user/page.html are rewritten to take
the file public_html/page.html from the home directory of the user. the file public_html/page.html from the home directory of the user.
@ -168,7 +168,7 @@ in
mod_status = mkOption { mod_status = mkOption {
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
description = '' description = ''
Show server status overview at /server-status, statistics at Show server status overview at /server-status, statistics at
/server-statistics and list of loaded modules at /server-config. /server-statistics and list of loaded modules at /server-config.

View File

@ -17,7 +17,7 @@ in
enable = mkOption { enable = mkOption {
default = false; default = false;
type = types.uniq types.bool; type = types.bool;
description = '' description = ''
If true, enable gitweb in lighttpd. Access it at http://yourserver/gitweb If true, enable gitweb in lighttpd. Access it at http://yourserver/gitweb
''; '';