1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-01 04:23:34 +02:00
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

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;