summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/types.nix
diff options
context:
space:
mode:
authormakefu <makefu@tsp>2015-08-13 20:28:21 +0000
committermakefu <makefu@tsp>2015-08-13 20:28:21 +0000
commitd230db96d9b7403da64887b6ceebcacc564c268b (patch)
tree1483ffc7a5b4907ece3b6643e25267002eaa9170 /krebs/4lib/types.nix
parentbdc58a02f93661796d8816818c0792cbab65f7c1 (diff)
krebs: add extraZones
Diffstat (limited to 'krebs/4lib/types.nix')
-rw-r--r--krebs/4lib/types.nix11
1 files changed, 6 insertions, 5 deletions
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);
- };
};
});