From 0345c30b1b3c3b01ba5455a7fc6bee338c36052a Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 13 Jul 2015 17:36:31 +0200 Subject: 3 tv.*: use mkEnableOption --- 3modules/tv/consul.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to '3modules/tv/consul.nix') diff --git a/3modules/tv/consul.nix b/3modules/tv/consul.nix index dc9a180dd..480198456 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; }; -- cgit v1.2.3