nixos,dns: types.string -> types.str

This commit is contained in:
Guanran Wang 2023-11-08 00:27:02 +08:00
parent b854170a53
commit 7a453b5a56
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8

View file

@ -4,7 +4,7 @@
... ...
}: { }: {
options.myFlake.nixos.networking.dns = lib.mkOption { options.myFlake.nixos.networking.dns = lib.mkOption {
type = lib.types.string; type = lib.types.str;
default = "google"; default = "google";
example = "alidns"; example = "alidns";
description = "Select your DNS provider"; description = "Select your DNS provider";