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:
raf 2026-04-05 15:40:48 +03:00
commit 0737713613
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -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";