mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
kodi: make type for settings less restrictive
This commit is contained in:
parent
1c43dcfac4
commit
94b60a221b
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue