fix: otf.nix improper environmentfile mapping
This commit is contained in:
parent
57f4448826
commit
33bf0e24a8
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ in
|
||||||
WorkingDirectory = cfg.dataDir;
|
WorkingDirectory = cfg.dataDir;
|
||||||
ExecStart = "${cfg.package}/bin/otfd";
|
ExecStart = "${cfg.package}/bin/otfd";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
EnvironmentFile = lib.mkIf (cfg.environment.file != null) cfg.environment.file;
|
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue