nsd module: use enum
This commit is contained in:
parent
5259fb2181
commit
15d25df698
@ -345,12 +345,10 @@ let
|
|||||||
};
|
};
|
||||||
|
|
||||||
rrlWhitelist = mkOption {
|
rrlWhitelist = mkOption {
|
||||||
type = types.listOf types.str;
|
type = with types; listOf (enum [ "nxdomain" "error" "referral" "any" "rrsig" "wildcard" "nodata" "dnskey" "positive" "all" ]);
|
||||||
default = [];
|
default = [];
|
||||||
description = ''
|
description = ''
|
||||||
Whitelists the given rrl-types.
|
Whitelists the given rrl-types.
|
||||||
The RRL classification types are: nxdomain, error, referral, any,
|
|
||||||
rrsig, wildcard, nodata, dnskey, positive, all
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user