kodi: make type for settings less restrictive
This commit is contained in:
parent
1c43dcfac4
commit
94b60a221b
|
@ -151,8 +151,8 @@ in {
|
||||||
settings = mkOption {
|
settings = mkOption {
|
||||||
type = with types;
|
type = with types;
|
||||||
let
|
let
|
||||||
valueType = either str (attrsOf valueType) // {
|
valueType = oneOf [ str (attrsOf valueType) (listOf valueType) ] // {
|
||||||
description = "attribute sets of strings";
|
description = "attribute sets or lists of strings";
|
||||||
};
|
};
|
||||||
in nullOr valueType;
|
in nullOr valueType;
|
||||||
default = null;
|
default = null;
|
||||||
|
|
Loading…
Reference in a new issue