]> git.immae.eu Git - perso/Immae/Config/Nix.git/commitdiff
Remove mail from syrwenne
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 15 Jul 2020 14:57:39 +0000 (16:57 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 15 Jul 2020 14:57:39 +0000 (16:57 +0200)
modules/private/websites/leila/production.nix

index 9bf6215b8a74e5e50b23324487c257a3594f1d0e..0ae789374a88ba8a4df97ca88f899b5a0c1a73d9 100644 (file)
@@ -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 ];