summaryrefslogtreecommitdiffstats
path: root/krebs/4lib/types.nix
diff options
context:
space:
mode:
authormakefu <makefu@tsp>2015-08-13 12:03:59 +0200
committermakefu <makefu@tsp>2015-08-13 12:05:16 +0200
commit6b9a70d2d0d4e773d60251acec2ab882c8dd56d7 (patch)
treefc4e3f78395ab30c8d54c17f0fc3f346ead345f8 /krebs/4lib/types.nix
parent4d08db7462dd9065f30093a24c701e0f072c42f3 (diff)
types: add zones
Diffstat (limited to 'krebs/4lib/types.nix')
-rw-r--r--krebs/4lib/types.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/krebs/4lib/types.nix b/krebs/4lib/types.nix
index 92410dd58..975c36b08 100644
--- a/krebs/4lib/types.nix
+++ b/krebs/4lib/types.nix
@@ -20,6 +20,7 @@ types // rec {
type = attrsOf net;
apply = x: assert hasAttr "retiolum" x; x;
};
+
secure = mkOption {
type = bool;
default = false;
@@ -73,6 +74,11 @@ types // rec {
}));
default = null;
};
+ zones = mkOption {
+ default = [];
+ # TODO: string is either MX, NS, A or AAAA
+ type = with types; listOf (attrsOf str);
+ };
};
});