fix argument in mkEnableOption
This commit is contained in:
parent
f780791429
commit
cf44a27fc4
@ -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.";
|
||||
|
@ -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.";
|
||||
|
@ -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.
|
||||
|
@ -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";
|
||||
|
@ -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.";
|
||||
|
@ -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.";
|
||||
|
@ -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
|
||||
|
@ -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.";
|
||||
|
@ -356,7 +356,7 @@ in {
|
||||
};
|
||||
|
||||
beacon = {
|
||||
enable = mkEnableOption "Whether to enable graphite beacon.";
|
||||
enable = mkEnableOption "graphite beacon";
|
||||
|
||||
config = mkOption {
|
||||
description = "Graphite beacon configuration.";
|
||||
|
@ -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.";
|
||||
|
@ -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.";
|
||||
|
@ -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.";
|
||||
|
@ -7,7 +7,7 @@ let
|
||||
|
||||
in {
|
||||
options.services.skydns = {
|
||||
enable = mkEnableOption "Whether to enable skydns service.";
|
||||
enable = mkEnableOption "skydns service";
|
||||
|
||||
etcd = {
|
||||
machines = mkOption {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user