From d230db96d9b7403da64887b6ceebcacc564c268b Mon Sep 17 00:00:00 2001
From: makefu <makefu@tsp>
Date: Thu, 13 Aug 2015 20:28:21 +0000
Subject: krebs: add extraZones

---
 krebs/4lib/types.nix | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'krebs/4lib')

diff --git a/krebs/4lib/types.nix b/krebs/4lib/types.nix
index 975c36b08..f767d20fe 100644
--- a/krebs/4lib/types.nix
+++ b/krebs/4lib/types.nix
@@ -21,6 +21,12 @@ types // rec {
         apply = x: assert hasAttr "retiolum" x; x;
       };
 
+      extraZones = mkOption {
+        default = {};
+        # TODO: string is either MX, NS, A or AAAA
+        type = with types; attrsOf string;
+      };
+
       secure = mkOption {
         type = bool;
         default = false;
@@ -74,11 +80,6 @@ types // rec {
         }));
         default = null;
       };
-      zones = mkOption {
-        default = [];
-        # TODO: string is either MX, NS, A or AAAA
-        type = with types; listOf (attrsOf str);
-      };
     };
   });
 
-- 
cgit v1.2.3