diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2023-12-10 12:49:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-10 12:49:52 +0100 |
commit | 9f9de7c5e3c40f84f1859c86c04f3674f04b31e0 (patch) | |
tree | 7920da40923a5c2801a94c4bbdd7a684777f450e /nixos/modules | |
parent | 8214139c93f071413ea23f6bccfa7933709b2e13 (diff) | |
parent | eaa581b5c3923a2043cf6020e9616debc2c1abc2 (diff) |
Merge pull request #272919 from SuperSandro2000/nextcloud
nixos/nextcloud: allow phpOptions to contain ints
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/web-apps/nextcloud.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/nextcloud.nix b/nixos/modules/services/web-apps/nextcloud.nix index f521fa7d5d5db..db6eacf30196b 100644 --- a/nixos/modules/services/web-apps/nextcloud.nix +++ b/nixos/modules/services/web-apps/nextcloud.nix @@ -240,7 +240,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. |