From 05eb3496e6d0995cc5ee65d8e4bd40eed30db21e Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Thu, 1 Oct 2020 12:05:08 +0200 Subject: [PATCH] nixos/httpd: remove unnecessary sendmail configuration PHP now uses system-sendmail without special configuration. --- nixos/modules/services/web-servers/apache-httpd/default.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index 6dd1c85132c..6ffda3d6361 100644 --- a/nixos/modules/services/web-servers/apache-httpd/default.nix +++ b/nixos/modules/services/web-servers/apache-httpd/default.nix @@ -693,9 +693,6 @@ in services.httpd.phpOptions = '' - ; Needed for PHP's mail() function. - sendmail_path = ${pkgs.system-sendmail}/bin/sendmail -t -i - ; Don't advertise PHP expose_php = off '' + optionalString (config.time.timeZone != null) ''