From cf44a27fc45514737e54d27c9b513a1a4d6885ff Mon Sep 17 00:00:00 2001 From: Arseniy Seroka Date: Sun, 21 Jun 2015 18:19:46 +0300 Subject: [PATCH] fix argument in mkEnableOption --- nixos/modules/services/cluster/kubernetes.nix | 2 +- nixos/modules/services/misc/confd.nix | 2 +- nixos/modules/services/misc/plex.nix | 2 +- nixos/modules/services/misc/ripple-data-api.nix | 2 +- nixos/modules/services/misc/ripple-rest.nix | 6 +++--- nixos/modules/services/misc/rippled.nix | 4 ++-- nixos/modules/services/monitoring/das_watchdog.nix | 2 +- nixos/modules/services/monitoring/grafana.nix | 2 +- nixos/modules/services/monitoring/graphite.nix | 2 +- nixos/modules/services/networking/consul.nix | 2 +- .../modules/services/networking/docker-registry-server.nix | 2 +- nixos/modules/services/networking/racoon.nix | 2 +- nixos/modules/services/networking/skydns.nix | 2 +- nixos/modules/virtualisation/vmware-guest.nix | 2 +- 14 files changed, 17 insertions(+), 17 deletions(-) diff --git a/nixos/modules/services/cluster/kubernetes.nix b/nixos/modules/services/cluster/kubernetes.nix index a7f4ec7b008b..86b8817c28c6 100644 --- a/nixos/modules/services/cluster/kubernetes.nix +++ b/nixos/modules/services/cluster/kubernetes.nix @@ -324,7 +324,7 @@ in { }; kube2sky = { - enable = mkEnableOption "Whether to enable kube2sky dns service."; + enable = mkEnableOption "kube2sky dns service"; domain = mkOption { description = "Kuberntes kube2sky domain under which all DNS names will be hosted."; diff --git a/nixos/modules/services/misc/confd.nix b/nixos/modules/services/misc/confd.nix index 7094bb460895..98738b6497bf 100644 --- a/nixos/modules/services/misc/confd.nix +++ b/nixos/modules/services/misc/confd.nix @@ -17,7 +17,7 @@ let in { options.services.confd = { - enable = mkEnableOption "Whether to enable confd service."; + enable = mkEnableOption "confd service"; backend = mkOption { description = "Confd config storage backend to use."; diff --git a/nixos/modules/services/misc/plex.nix b/nixos/modules/services/misc/plex.nix index f5f0a8c18161..de8bc71a2712 100644 --- a/nixos/modules/services/misc/plex.nix +++ b/nixos/modules/services/misc/plex.nix @@ -9,7 +9,7 @@ in { options = { 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 # package in the Nix store have to be changed to point to this directory. diff --git a/nixos/modules/services/misc/ripple-data-api.nix b/nixos/modules/services/misc/ripple-data-api.nix index 3b281449a256..dbca56b13335 100644 --- a/nixos/modules/services/misc/ripple-data-api.nix +++ b/nixos/modules/services/misc/ripple-data-api.nix @@ -35,7 +35,7 @@ let in { options = { services.rippleDataApi = { - enable = mkEnableOption "Whether to enable ripple data api."; + enable = mkEnableOption "ripple data api"; port = mkOption { description = "Ripple data api port"; diff --git a/nixos/modules/services/misc/ripple-rest.nix b/nixos/modules/services/misc/ripple-rest.nix index dc07ee132fa6..49520f68a50a 100644 --- a/nixos/modules/services/misc/ripple-rest.nix +++ b/nixos/modules/services/misc/ripple-rest.nix @@ -23,9 +23,9 @@ let in { 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 { description = "Ripple rest host."; @@ -40,7 +40,7 @@ in { }; ssl = { - enable = mkEnableOption "Whether to enable ssl."; + enable = mkEnableOption "ssl"; keyPath = mkOption { description = "Path to the ripple rest key file."; diff --git a/nixos/modules/services/misc/rippled.nix b/nixos/modules/services/misc/rippled.nix index 045330eb5513..d940c1bc900e 100644 --- a/nixos/modules/services/misc/rippled.nix +++ b/nixos/modules/services/misc/rippled.nix @@ -202,7 +202,7 @@ in options = { services.rippled = { - enable = mkEnableOption "Whether to enable rippled"; + enable = mkEnableOption "rippled"; package = mkOption { description = "Which rippled package to use."; @@ -373,7 +373,7 @@ in }; statsd = { - enable = mkEnableOption "Whether enable statsd monitoring for rippled"; + enable = mkEnableOption "statsd monitoring for rippled"; address = mkOption { description = "The UDP address and port of the listening StatsD server."; diff --git a/nixos/modules/services/monitoring/das_watchdog.nix b/nixos/modules/services/monitoring/das_watchdog.nix index 785b4289dff4..6e2653836d5e 100644 --- a/nixos/modules/services/monitoring/das_watchdog.nix +++ b/nixos/modules/services/monitoring/das_watchdog.nix @@ -12,7 +12,7 @@ in { ###### interface options = { - services.das_watchdog.enable = mkEnableOption "Whether to enable realtime watchdog"; + services.das_watchdog.enable = mkEnableOption "realtime watchdog"; }; ###### implementation diff --git a/nixos/modules/services/monitoring/grafana.nix b/nixos/modules/services/monitoring/grafana.nix index ef0cc68a5355..6a1799dedc8e 100644 --- a/nixos/modules/services/monitoring/grafana.nix +++ b/nixos/modules/services/monitoring/grafana.nix @@ -154,7 +154,7 @@ let in { options.services.grafana = { - enable = mkEnableOption "Whether to enable grafana."; + enable = mkEnableOption "grafana"; protocol = mkOption { description = "Which protocol to listen."; diff --git a/nixos/modules/services/monitoring/graphite.nix b/nixos/modules/services/monitoring/graphite.nix index fb30daba1dc1..ac0fba597a04 100644 --- a/nixos/modules/services/monitoring/graphite.nix +++ b/nixos/modules/services/monitoring/graphite.nix @@ -356,7 +356,7 @@ in { }; beacon = { - enable = mkEnableOption "Whether to enable graphite beacon."; + enable = mkEnableOption "graphite beacon"; config = mkOption { description = "Graphite beacon configuration."; diff --git a/nixos/modules/services/networking/consul.nix b/nixos/modules/services/networking/consul.nix index 31bae628050b..66838735c4da 100644 --- a/nixos/modules/services/networking/consul.nix +++ b/nixos/modules/services/networking/consul.nix @@ -104,7 +104,7 @@ in }; alerts = { - enable = mkEnableOption "Whether to enable consul-alerts"; + enable = mkEnableOption "consul-alerts"; package = mkOption { description = "Package to use for consul-alerts."; diff --git a/nixos/modules/services/networking/docker-registry-server.nix b/nixos/modules/services/networking/docker-registry-server.nix index 093d20ecb16a..d21bbb6a86c3 100644 --- a/nixos/modules/services/networking/docker-registry-server.nix +++ b/nixos/modules/services/networking/docker-registry-server.nix @@ -7,7 +7,7 @@ let in { options.services.nodeDockerRegistry = { - enable = mkEnableOption "Whether to enable docker registry service."; + enable = mkEnableOption "docker registry service"; port = mkOption { description = "Docker registry listening port."; diff --git a/nixos/modules/services/networking/racoon.nix b/nixos/modules/services/networking/racoon.nix index 00986bbbd849..9428d9112a1b 100644 --- a/nixos/modules/services/networking/racoon.nix +++ b/nixos/modules/services/networking/racoon.nix @@ -6,7 +6,7 @@ let cfg = config.services.racoon; in { options.services.racoon = { - enable = mkEnableOption "Whether to enable racoon."; + enable = mkEnableOption "racoon"; config = mkOption { description = "Contents of racoon configuration file."; diff --git a/nixos/modules/services/networking/skydns.nix b/nixos/modules/services/networking/skydns.nix index 2d0129d63101..045e908a3b18 100644 --- a/nixos/modules/services/networking/skydns.nix +++ b/nixos/modules/services/networking/skydns.nix @@ -7,7 +7,7 @@ let in { options.services.skydns = { - enable = mkEnableOption "Whether to enable skydns service."; + enable = mkEnableOption "skydns service"; etcd = { machines = mkOption { diff --git a/nixos/modules/virtualisation/vmware-guest.nix b/nixos/modules/virtualisation/vmware-guest.nix index 3f19f6a28b2b..ac2415a22b52 100644 --- a/nixos/modules/virtualisation/vmware-guest.nix +++ b/nixos/modules/virtualisation/vmware-guest.nix @@ -8,7 +8,7 @@ let in { options = { - services.vmwareGuest.enable = mkEnableOption "Enable VMWare Guest Support"; + services.vmwareGuest.enable = mkEnableOption "VMWare Guest Support"; }; config = mkIf cfg.enable {