From ca367c14902ab1bf869976dc5dca52d07e308c15 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 15 Jul 2020 16:57:39 +0200 Subject: [PATCH] Remove mail from syrwenne --- modules/private/websites/leila/production.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/private/websites/leila/production.nix b/modules/private/websites/leila/production.nix index 9bf6215..0ae7893 100644 --- a/modules/private/websites/leila/production.nix +++ b/modules/private/websites/leila/production.nix @@ -22,6 +22,9 @@ in { "php_admin_value[open_basedir]" = "${varDir}:/tmp"; "php_admin_value[max_execution_time]" = "1800"; }; + phpOptions = config.services.phpfpm.phpOptions + '' + disable_functions = "mail" + ''; phpPackage = pkgs.php72.withExtensions(e: pkgs.php72.enabledExtensions ++ [ e.imagick ]); phpEnv = { PATH = lib.makeBinPath [ pkgs.imagemagick ]; -- 2.41.0