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:
@@ -335,7 +335,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