nixos/mxisd: use a list for env file for mergeability
This commit is contained in:
parent
d54d70f166
commit
c2c82fbe43
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ in {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
User = "mxisd";
|
User = "mxisd";
|
||||||
Group = "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";
|
ExecStart = "${cfg.package}/bin/${executable} -c ${cfg.dataDir}/mxisd-config.yaml";
|
||||||
ExecStartPre = "${pkgs.writeShellScript "mxisd-substitute-secrets" ''
|
ExecStartPre = "${pkgs.writeShellScript "mxisd-substitute-secrets" ''
|
||||||
${pkgs.envsubst}/bin/envsubst -o ${cfg.dataDir}/mxisd-config.yaml \
|
${pkgs.envsubst}/bin/envsubst -o ${cfg.dataDir}/mxisd-config.yaml \
|
||||||
|
|
Loading…
Reference in a new issue