This commit is contained in:
Patrick N 2024-04-29 03:49:40 +02:00 committed by GitHub
commit 34b8dce985
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -151,8 +151,8 @@ in {
settings = mkOption {
type = with types;
let
valueType = either str (attrsOf valueType) // {
description = "attribute sets of strings";
valueType = oneOf [ str (attrsOf valueType) (listOf valueType) ] // {
description = "attribute sets or lists of strings";
};
in nullOr valueType;
default = null;