nixos/kimai: fix incorrect service name for PHP-FPM service mixin, set PHP package for PHP-FPM pool to Kimai's PHP package (#358743)
This commit is contained in:
@@ -238,6 +238,7 @@ in
|
||||
services.phpfpm.pools = mapAttrs' (
|
||||
hostName: cfg:
|
||||
(nameValuePair "kimai-${hostName}" {
|
||||
phpPackage = cfg.package.php;
|
||||
inherit user;
|
||||
group = webserver.group;
|
||||
settings = {
|
||||
@@ -335,7 +336,7 @@ in
|
||||
|
||||
(mapAttrs' (
|
||||
hostName: cfg:
|
||||
(nameValuePair "phpfpm-kimai-${hostName}.service" {
|
||||
(nameValuePair "phpfpm-kimai-${hostName}" {
|
||||
serviceConfig = {
|
||||
EnvironmentFile = [ cfg.environmentFile ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user