diff --git a/darwin/modules/services/clash/default.nix b/darwin/modules/services/clash/default.nix index 0795c66..f32f3c7 100644 --- a/darwin/modules/services/clash/default.nix +++ b/darwin/modules/services/clash/default.nix @@ -33,7 +33,7 @@ in { }; extraOpts = lib.mkOption { default = null; - type = lib.types.nullOr lib.types.string; + type = lib.types.nullOr lib.types.str; description = "Extra command line options to use."; }; }; diff --git a/nixos/modules/services/clash.nix b/nixos/modules/services/clash.nix index 7bf827d..f5cafc6 100644 --- a/nixos/modules/services/clash.nix +++ b/nixos/modules/services/clash.nix @@ -33,7 +33,7 @@ in { }; extraOpts = lib.mkOption { default = null; - type = lib.types.nullOr lib.types.string; + type = lib.types.nullOr lib.types.str; description = "Extra command line options to use."; }; };