diff --git a/nix/module.nix b/nix/module.nix index b56903a..1c8a9c1 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -44,6 +44,9 @@ in path = [ pkgs.libnotify ]; serviceConfig = { ExecStart = ''${lib.getExe package} desktop --title "${cfg.services.comin.desktop.title}"''; + # comin fails when started before the desktop notification service + Restart="on-failure"; + RestartSec=5; }; };