]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Add imagick to Leila website
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 7 Jun 2020 17:11:33 +0000 (19:11 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 7 Jun 2020 17:13:10 +0000 (19:13 +0200)
modules/private/websites/leila/production.nix

index 4fcc2d3668dd936065b88df06d91b6c6e3f8d91d..9bf6215b8a74e5e50b23324487c257a3594f1d0e 100644 (file)
@@ -20,8 +20,12 @@ in {
         "pm.process_idle_timeout" = "60";
 
         "php_admin_value[open_basedir]" = "${varDir}:/tmp";
+        "php_admin_value[max_execution_time]" = "1800";
+      };
+      phpPackage = pkgs.php72.withExtensions(e: pkgs.php72.enabledExtensions ++ [ e.imagick ]);
+      phpEnv = {
+        PATH = lib.makeBinPath [ pkgs.imagemagick ];
       };
-      phpPackage = pkgs.php72;
     };
 
     services.webstats.sites = [