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-12-01 18:09:46 +00:00
parent 4a936cc904
commit a1b3091db8
+1 -1
View File
@@ -335,7 +335,7 @@ in
(mapAttrs' (
hostName: cfg:
(nameValuePair "phpfpm-kimai-${hostName}.service" {
(nameValuePair "phpfpm-kimai-${hostName}" {
serviceConfig = {
EnvironmentFile = [ cfg.environmentFile ];
};