diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-07 19:11:33 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-06-07 19:13:10 +0200 |
commit | b26e1b456922d585fb8039635a7ce0cb206009c2 (patch) | |
tree | 09a67ebea038f3600c47a6917895229a47d49967 /modules | |
parent | 63500b22b4d274abf209b7b6e13e36564f42ecbe (diff) | |
download | Nix-b26e1b456922d585fb8039635a7ce0cb206009c2.tar.gz Nix-b26e1b456922d585fb8039635a7ce0cb206009c2.tar.zst Nix-b26e1b456922d585fb8039635a7ce0cb206009c2.zip |
Add imagick to Leila website
Diffstat (limited to 'modules')
-rw-r--r-- | modules/private/websites/leila/production.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/private/websites/leila/production.nix b/modules/private/websites/leila/production.nix index 4fcc2d3..9bf6215 100644 --- a/modules/private/websites/leila/production.nix +++ b/modules/private/websites/leila/production.nix | |||
@@ -20,8 +20,12 @@ in { | |||
20 | "pm.process_idle_timeout" = "60"; | 20 | "pm.process_idle_timeout" = "60"; |
21 | 21 | ||
22 | "php_admin_value[open_basedir]" = "${varDir}:/tmp"; | 22 | "php_admin_value[open_basedir]" = "${varDir}:/tmp"; |
23 | "php_admin_value[max_execution_time]" = "1800"; | ||
24 | }; | ||
25 | phpPackage = pkgs.php72.withExtensions(e: pkgs.php72.enabledExtensions ++ [ e.imagick ]); | ||
26 | phpEnv = { | ||
27 | PATH = lib.makeBinPath [ pkgs.imagemagick ]; | ||
23 | }; | 28 | }; |
24 | phpPackage = pkgs.php72; | ||
25 | }; | 29 | }; |
26 | 30 | ||
27 | services.webstats.sites = [ | 31 | services.webstats.sites = [ |