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/nginx.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '3modules/tv/nginx.nix') diff --git a/3modules/tv/nginx.nix b/3modules/tv/nginx.nix index d9d95be84..93cd88aac 100644 --- a/3modules/tv/nginx.nix +++ b/3modules/tv/nginx.nix @@ -11,11 +11,7 @@ let }; api = { - enable = mkOption { - type = types.bool; - default = false; - description = "Enable nginx."; - }; + enable = mkEnableOption "tv.nginx"; retiolum-locations = mkOption { type = with types; listOf (attrsOf str); -- cgit v1.2.3