types.uniq types.bool -> types.bool
This commit is contained in:
parent
9366af1b94
commit
c738b309ee
@ -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.";
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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.
|
||||||
|
@ -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.
|
||||||
'';
|
'';
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
|
@ -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 {
|
||||||
|
@ -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";
|
||||||
};
|
};
|
||||||
|
@ -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.
|
||||||
|
@ -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 {
|
||||||
|
@ -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.
|
||||||
|
@ -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 {
|
||||||
|
@ -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 {
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user