summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
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 /nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
parentb7620817f6a61cbe0a094477a1a53dd941dcdfd4 (diff)
downloadnixpkgs-e2da1219d4582f8db93f04536bd9ce97eaffbe8f.tar
nixpkgs-e2da1219d4582f8db93f04536bd9ce97eaffbe8f.tar.gz
nixpkgs-e2da1219d4582f8db93f04536bd9ce97eaffbe8f.tar.bz2
nixpkgs-e2da1219d4582f8db93f04536bd9ce97eaffbe8f.tar.lz
nixpkgs-e2da1219d4582f8db93f04536bd9ce97eaffbe8f.tar.xz
nixpkgs-e2da1219d4582f8db93f04536bd9ce97eaffbe8f.tar.zst
nixpkgs-e2da1219d4582f8db93f04536bd9ce97eaffbe8f.zip
nixos/icingaweb2: Fix php packages
Diffstat (limited to 'nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix')
-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 d9ad7e9e3d3..eea49bda283 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) {