kodi: make type for settings less restrictive

This commit is contained in:
Patrick Neff 2024-04-15 20:32:28 +02:00
parent 1c43dcfac4
commit 94b60a221b

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;