From 91e380e7fa55204e8eb20a4e95bf621c22af1e99 Mon Sep 17 00:00:00 2001 From: Andreas Wiese Date: Wed, 13 Oct 2021 10:53:27 +0200 Subject: [PATCH] modules/snipe-it: make phpfpm use phpPackage We only used phpPackage for artisan script but not for the actual PHPFPM instance running the service. This didn't cause any harm as long as the default PHP instance was php74 but with the switch to php80 this should be corrected, as Snipe-IT isn't compatible with 8.0. --- modules/services/snipe-it.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/snipe-it.nix b/modules/services/snipe-it.nix index 2f66898..cd9f099 100644 --- a/modules/services/snipe-it.nix +++ b/modules/services/snipe-it.nix @@ -330,7 +330,7 @@ in { }; services.phpfpm.pools.snipe-it = { - inherit user group; + inherit user group phpPackage; phpOptions = '' log_errors = on post_max_size = ${cfg.maxUploadSize}