nixos,dns: types.str -> types.enum
This commit is contained in:
parent
36bea2b498
commit
dd84a0850b
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
options.myFlake.nixos.networking.dns = lib.mkOption {
|
options.myFlake.nixos.networking.dns = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.enum ["google" "alidns"];
|
||||||
default = "google";
|
default = "google";
|
||||||
example = "alidns";
|
example = "alidns";
|
||||||
description = "Select your DNS provider";
|
description = "Select your DNS provider";
|
||||||
|
|
Loading…
Reference in a new issue