about summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-12-08 15:02:54 +0100
committerSandro Jäckel <sandro.jaeckel@gmail.com>2023-12-08 15:03:09 +0100
commiteaa581b5c3923a2043cf6020e9616debc2c1abc2 (patch)
treefcb3dd14c705a13861c8a96803bb1dd46cef6a9d /nixos/modules
parent0b5beb5ac5184caf5ad80ae1b1693a8412ea4a1b (diff)
downloadnixlib-eaa581b5c3923a2043cf6020e9616debc2c1abc2.tar
nixlib-eaa581b5c3923a2043cf6020e9616debc2c1abc2.tar.gz
nixlib-eaa581b5c3923a2043cf6020e9616debc2c1abc2.tar.bz2
nixlib-eaa581b5c3923a2043cf6020e9616debc2c1abc2.tar.lz
nixlib-eaa581b5c3923a2043cf6020e9616debc2c1abc2.tar.xz
nixlib-eaa581b5c3923a2043cf6020e9616debc2c1abc2.tar.zst
nixlib-eaa581b5c3923a2043cf6020e9616debc2c1abc2.zip
nixos/nextcloud: allow phpOptions to contain ints
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/web-apps/nextcloud.nix2
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 6c50ea3c81ef..e5f7c39faf87 100644
--- a/nixos/modules/services/web-apps/nextcloud.nix
+++ b/nixos/modules/services/web-apps/nextcloud.nix
@@ -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.