diff --git a/nixos/modules/services/web-servers/apache-httpd/default.nix b/nixos/modules/services/web-servers/apache-httpd/default.nix index d6c539aa78b6..b96f5cf159b0 100644 --- a/nixos/modules/services/web-servers/apache-httpd/default.nix +++ b/nixos/modules/services/web-servers/apache-httpd/default.nix @@ -628,8 +628,8 @@ in ++ concatMap (svc: svc.extraServerPath) allSubservices; environment = - (listToAttrs (concatMap (svc: svc.globalEnvVars) allSubservices)) - // optionalAttrs enablePHP { PHPRC = phpIni; }; + optionalAttrs enablePHP { PHPRC = phpIni; } + // (listToAttrs (concatMap (svc: svc.globalEnvVars) allSubservices)); preStart = ''