diff options
| author | tv <tv@krebsco.de> | 2015-07-13 17:36:31 +0200 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2015-07-13 17:47:49 +0200 |
| commit | 5eb2a9be177c685643e63ac5da19dff78e733e46 (patch) | |
| tree | 73cd25f1107480295823ca5f904362f98401e85a /3modules/tv/consul.nix | |
| parent | a3f12c30d15b3b38b05d757fb91d84865ce2a7ef (diff) | |
3 tv.*: use mkEnableOption
Diffstat (limited to '3modules/tv/consul.nix')
| -rw-r--r-- | 3modules/tv/consul.nix | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/3modules/tv/consul.nix b/3modules/tv/consul.nix index dc9a180..4801984 100644 --- a/3modules/tv/consul.nix +++ b/3modules/tv/consul.nix @@ -21,12 +21,8 @@ let }; api = { - # TODO inherit (lib) api.options.enable; oder so - enable = mkOption { - type = types.bool; - default = false; - description = "enable tv.consul"; - }; + enable = mkEnableOption "tv.consul"; + dc = mkOption { type = types.unspecified; }; |
