nixos/nextcloud: allow phpOptions to contain ints

This commit is contained in:
Sandro Jäckel 2023-12-08 15:02:54 +01:00
parent 0b5beb5ac5
commit eaa581b5c3
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -238,7 +238,7 @@ in {
};
phpOptions = mkOption {
type = types.attrsOf types.str;
type = with types; attrsOf (oneOf [ str int ]);
defaultText = literalExpression (generators.toPretty { } defaultPHPSettings);
description = lib.mdDoc ''
Options for PHP's php.ini file for nextcloud.