diff options
author | Eric Sagnes <eric.sagnes@gmail.com> | 2016-11-16 22:37:14 +0900 |
---|---|---|
committer | Eric Sagnes <eric.sagnes@gmail.com> | 2016-11-16 22:37:14 +0900 |
commit | 15d25df6987bdc781f3fd67a00995d6cca86936d (patch) | |
tree | ee5c8e42affa473a056c15c7feb642bd53530778 /nixos/modules | |
parent | 5259fb218103cd3111e2534e941362b80d48043f (diff) | |
download | nixlib-15d25df6987bdc781f3fd67a00995d6cca86936d.tar nixlib-15d25df6987bdc781f3fd67a00995d6cca86936d.tar.gz nixlib-15d25df6987bdc781f3fd67a00995d6cca86936d.tar.bz2 nixlib-15d25df6987bdc781f3fd67a00995d6cca86936d.tar.lz nixlib-15d25df6987bdc781f3fd67a00995d6cca86936d.tar.xz nixlib-15d25df6987bdc781f3fd67a00995d6cca86936d.tar.zst nixlib-15d25df6987bdc781f3fd67a00995d6cca86936d.zip |
nsd module: use enum
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/networking/nsd.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/nsd.nix b/nixos/modules/services/networking/nsd.nix index ccfd219620cf..481e267f6c38 100644 --- a/nixos/modules/services/networking/nsd.nix +++ b/nixos/modules/services/networking/nsd.nix @@ -345,12 +345,10 @@ let }; rrlWhitelist = mkOption { - type = types.listOf types.str; + type = with types; listOf (enum [ "nxdomain" "error" "referral" "any" "rrsig" "wildcard" "nodata" "dnskey" "positive" "all" ]); default = []; description = '' Whitelists the given rrl-types. - The RRL classification types are: nxdomain, error, referral, any, - rrsig, wildcard, nodata, dnskey, positive, all ''; }; |