summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2020-10-15 16:16:33 +0200
committerJanne Heß <janne@hess.ooo>2020-10-15 16:16:33 +0200
commite2da1219d4582f8db93f04536bd9ce97eaffbe8f (patch)
tree7ba98c9388bdd69bcea39ccd1e5bc81a5c5acbc2
parentb7620817f6a61cbe0a094477a1a53dd941dcdfd4 (diff)
nixos/icingaweb2: Fix php packages
-rw-r--r--nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix b/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
index d9ad7e9e3d39..eea49bda283b 100644
--- a/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
+++ b/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
@@ -167,8 +167,8 @@ in {
services.phpfpm.pools = mkIf (cfg.pool == "${poolName}") {
${poolName} = {
user = "icingaweb2";
+ phpPackage = pkgs.php.withExtensions ({ enabled, all }: [ all.imagick ] ++ enabled);
phpOptions = ''
- extension = ${pkgs.phpPackages.imagick}/lib/php/extensions/imagick.so
date.timezone = "${cfg.timezone}"
'';
settings = mapAttrs (name: mkDefault) {