diff --git a/nixos/networking/dns.nix b/nixos/networking/dns.nix index f88ddcf..d0d26a9 100644 --- a/nixos/networking/dns.nix +++ b/nixos/networking/dns.nix @@ -4,7 +4,7 @@ ... }: { options.myFlake.nixos.networking.dns = lib.mkOption { - type = lib.types.str; + type = lib.types.enum ["google" "alidns"]; default = "google"; example = "alidns"; description = "Select your DNS provider";