mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-10 07:58:30 +01:00
chore: Replace lib.types.string with str
"string" is deprecated.
This commit is contained in:
parent
dae5ca4b03
commit
ff99d22caf
@ -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";
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user