0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

nixos/kimai: fix incorrect service name for PHP-FPM service mixin

'systemd.services' will append '.service' suffix, so the extra
'.service' shouldn't be there. This fixes setting environment file.
This commit is contained in:
Ratchanan Srirattanamet 2024-11-24 22:38:51 +07:00
parent 4a936cc904
commit a1b3091db8

View file

@ -335,7 +335,7 @@ in
(mapAttrs' ( (mapAttrs' (
hostName: cfg: hostName: cfg:
(nameValuePair "phpfpm-kimai-${hostName}.service" { (nameValuePair "phpfpm-kimai-${hostName}" {
serviceConfig = { serviceConfig = {
EnvironmentFile = [ cfg.environmentFile ]; EnvironmentFile = [ cfg.environmentFile ];
}; };