mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-25 07:08:38 +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
|
let
|
||||||
inherit (lib) mkEnableOption mkOption mkIf;
|
inherit (lib) mkEnableOption mkOption mkIf;
|
||||||
inherit (lib.types) string;
|
inherit (lib.types) str;
|
||||||
|
|
||||||
cfg = config.modules.networking;
|
cfg = config.modules.networking;
|
||||||
in
|
in
|
||||||
@ -11,7 +11,7 @@ in
|
|||||||
mullvad = mkEnableOption "mullvad vpn";
|
mullvad = mkEnableOption "mullvad vpn";
|
||||||
|
|
||||||
hostName = mkOption {
|
hostName = mkOption {
|
||||||
type = string;
|
type = str;
|
||||||
default = "nixos";
|
default = "nixos";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user