chore: Replace lib.types.string with str

"string" is deprecated.
This commit is contained in:
Donovan Glover 2024-04-04 07:58:31 -04:00
parent dae5ca4b03
commit ff99d22caf
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -2,7 +2,7 @@
let
inherit (lib) mkEnableOption mkOption mkIf;
inherit (lib.types) string;
inherit (lib.types) str;
cfg = config.modules.networking;
in
@ -11,7 +11,7 @@ in
mullvad = mkEnableOption "mullvad vpn";
hostName = mkOption {
type = string;
type = str;
default = "nixos";
};