use type nonEmptyStr instead of str when possible

This commit is contained in:
SebastianStork 2025-07-28 21:54:03 +02:00
parent 37d6ce2e44
commit 652a6c4a97
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ in
default = name;
};
group = lib.mkOption {
type = lib.types.nullOr lib.types.str;
type = lib.types.nullOr lib.types.nonEmptyStr;
default = null;
};
url = lib.mkOption {