From c6470918de52da74df1616f3c96a02d86f400d71 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 21 Feb 2024 00:25:44 +0000 Subject: [PATCH] types.string -> types.str --- modules/users.nix | 2 +- modules/warnings.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/users.nix b/modules/users.nix index 04e8e84a..20ee43ee 100644 --- a/modules/users.nix +++ b/modules/users.nix @@ -213,7 +213,7 @@ in }; sane.defaultUser = mkOption { - type = types.nullOr types.string; + type = types.nullOr types.str; default = null; description = '' the name of the default user. diff --git a/modules/warnings.nix b/modules/warnings.nix index f0baf1fd..6f2e0a38 100644 --- a/modules/warnings.nix +++ b/modules/warnings.nix @@ -2,7 +2,7 @@ { options = with lib; { sane.silencedWarnings = mkOption { - type = types.listOf types.string; + type = types.listOf types.str; default = []; description = '' list of `config.warnings` values you want to ignore, verbatim.