From ff99d22caf23d72070d86dcc55491d9df36efa03 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Thu, 4 Apr 2024 07:58:31 -0400 Subject: [PATCH] chore: Replace lib.types.string with str "string" is deprecated. --- modules/networking.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/networking.nix b/modules/networking.nix index 75e23b6c..18b2adb9 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -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"; };