nixos/mxisd: use a list for env file for mergeability
This commit is contained in:
parent
d54d70f166
commit
c2c82fbe43
|
@ -127,7 +127,7 @@ in {
|
|||
Type = "simple";
|
||||
User = "mxisd";
|
||||
Group = "mxisd";
|
||||
EnvironmentFile = mkIf (cfg.environmentFile != null) cfg.environmentFile;
|
||||
EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ];
|
||||
ExecStart = "${cfg.package}/bin/${executable} -c ${cfg.dataDir}/mxisd-config.yaml";
|
||||
ExecStartPre = "${pkgs.writeShellScript "mxisd-substitute-secrets" ''
|
||||
${pkgs.envsubst}/bin/envsubst -o ${cfg.dataDir}/mxisd-config.yaml \
|
||||
|
|
Loading…
Reference in a new issue