types: add zones

This commit is contained in:
makefu 2015-08-13 12:03:59 +02:00
parent 4d08db7462
commit 647550f3e7

View File

@ -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);
};
};
});