nix: use the better config flag in the NixOS module
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I6d23aa35d8896b378315836af969389e6a6a6964
This commit is contained in:
parent
5f51cc3d7b
commit
0737713613
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ in {
|
|||
wantedBy = ["multi-user.target"];
|
||||
after = ["network.target"];
|
||||
serviceConfig = {
|
||||
ExecStart = "${lib.getExe cfg.package} -config ${configFile}";
|
||||
ExecStart = "${lib.getExe cfg.package} --config ${configFile}";
|
||||
DynamicUser = true;
|
||||
StateDirectory = "ncro";
|
||||
Restart = "on-failure";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue