From 0d6ede2b1dae8ebca604971fb0bf1a89f3411d14 Mon Sep 17 00:00:00 2001 From: coolGi Date: Sat, 11 Apr 2026 11:17:33 +1200 Subject: [PATCH] desktop: restart on faliure Apply suggestion from @nlewo --- nix/module.nix | 3 +++ 1 file changed, 3 insertions(+) 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; }; };