fix argument in mkEnableOption

This commit is contained in:
Arseniy Seroka 2015-06-21 18:19:46 +03:00
parent f780791429
commit cf44a27fc4
14 changed files with 17 additions and 17 deletions

View File

@ -324,7 +324,7 @@ in {
}; };
kube2sky = { kube2sky = {
enable = mkEnableOption "Whether to enable kube2sky dns service."; enable = mkEnableOption "kube2sky dns service";
domain = mkOption { domain = mkOption {
description = "Kuberntes kube2sky domain under which all DNS names will be hosted."; description = "Kuberntes kube2sky domain under which all DNS names will be hosted.";

View File

@ -17,7 +17,7 @@ let
in { in {
options.services.confd = { options.services.confd = {
enable = mkEnableOption "Whether to enable confd service."; enable = mkEnableOption "confd service";
backend = mkOption { backend = mkOption {
description = "Confd config storage backend to use."; description = "Confd config storage backend to use.";

View File

@ -9,7 +9,7 @@ in
{ {
options = { options = {
services.plex = { services.plex = {
enable = mkEnableOption "Enable Plex Media Server"; enable = mkEnableOption "Plex Media Server";
# FIXME: In order for this config option to work, symlinks in the Plex # FIXME: In order for this config option to work, symlinks in the Plex
# package in the Nix store have to be changed to point to this directory. # package in the Nix store have to be changed to point to this directory.

View File

@ -35,7 +35,7 @@ let
in { in {
options = { options = {
services.rippleDataApi = { services.rippleDataApi = {
enable = mkEnableOption "Whether to enable ripple data api."; enable = mkEnableOption "ripple data api";
port = mkOption { port = mkOption {
description = "Ripple data api port"; description = "Ripple data api port";

View File

@ -23,9 +23,9 @@ let
in { in {
options.services.rippleRest = { options.services.rippleRest = {
enable = mkEnableOption "Whether to enable ripple rest."; enable = mkEnableOption "ripple rest";
debug = mkEnableOption "Wheter to enable debug for ripple-rest."; debug = mkEnableOption "debug for ripple-rest";
host = mkOption { host = mkOption {
description = "Ripple rest host."; description = "Ripple rest host.";
@ -40,7 +40,7 @@ in {
}; };
ssl = { ssl = {
enable = mkEnableOption "Whether to enable ssl."; enable = mkEnableOption "ssl";
keyPath = mkOption { keyPath = mkOption {
description = "Path to the ripple rest key file."; description = "Path to the ripple rest key file.";

View File

@ -202,7 +202,7 @@ in
options = { options = {
services.rippled = { services.rippled = {
enable = mkEnableOption "Whether to enable rippled"; enable = mkEnableOption "rippled";
package = mkOption { package = mkOption {
description = "Which rippled package to use."; description = "Which rippled package to use.";
@ -373,7 +373,7 @@ in
}; };
statsd = { statsd = {
enable = mkEnableOption "Whether enable statsd monitoring for rippled"; enable = mkEnableOption "statsd monitoring for rippled";
address = mkOption { address = mkOption {
description = "The UDP address and port of the listening StatsD server."; description = "The UDP address and port of the listening StatsD server.";

View File

@ -12,7 +12,7 @@ in {
###### interface ###### interface
options = { options = {
services.das_watchdog.enable = mkEnableOption "Whether to enable realtime watchdog"; services.das_watchdog.enable = mkEnableOption "realtime watchdog";
}; };
###### implementation ###### implementation

View File

@ -154,7 +154,7 @@ let
in { in {
options.services.grafana = { options.services.grafana = {
enable = mkEnableOption "Whether to enable grafana."; enable = mkEnableOption "grafana";
protocol = mkOption { protocol = mkOption {
description = "Which protocol to listen."; description = "Which protocol to listen.";

View File

@ -356,7 +356,7 @@ in {
}; };
beacon = { beacon = {
enable = mkEnableOption "Whether to enable graphite beacon."; enable = mkEnableOption "graphite beacon";
config = mkOption { config = mkOption {
description = "Graphite beacon configuration."; description = "Graphite beacon configuration.";

View File

@ -104,7 +104,7 @@ in
}; };
alerts = { alerts = {
enable = mkEnableOption "Whether to enable consul-alerts"; enable = mkEnableOption "consul-alerts";
package = mkOption { package = mkOption {
description = "Package to use for consul-alerts."; description = "Package to use for consul-alerts.";

View File

@ -7,7 +7,7 @@ let
in { in {
options.services.nodeDockerRegistry = { options.services.nodeDockerRegistry = {
enable = mkEnableOption "Whether to enable docker registry service."; enable = mkEnableOption "docker registry service";
port = mkOption { port = mkOption {
description = "Docker registry listening port."; description = "Docker registry listening port.";

View File

@ -6,7 +6,7 @@ let
cfg = config.services.racoon; cfg = config.services.racoon;
in { in {
options.services.racoon = { options.services.racoon = {
enable = mkEnableOption "Whether to enable racoon."; enable = mkEnableOption "racoon";
config = mkOption { config = mkOption {
description = "Contents of racoon configuration file."; description = "Contents of racoon configuration file.";

View File

@ -7,7 +7,7 @@ let
in { in {
options.services.skydns = { options.services.skydns = {
enable = mkEnableOption "Whether to enable skydns service."; enable = mkEnableOption "skydns service";
etcd = { etcd = {
machines = mkOption { machines = mkOption {

View File

@ -8,7 +8,7 @@ let
in in
{ {
options = { options = {
services.vmwareGuest.enable = mkEnableOption "Enable VMWare Guest Support"; services.vmwareGuest.enable = mkEnableOption "VMWare Guest Support";
}; };
config = mkIf cfg.enable { config = mkIf cfg.enable {