diff --git a/modules/services/taffybar.nix b/modules/services/taffybar.nix index 42ca5f7bb..39a6c43ef 100644 --- a/modules/services/taffybar.nix +++ b/modules/services/taffybar.nix @@ -32,6 +32,8 @@ in { Unit = { Description = "Taffybar desktop bar"; PartOf = [ "tray.target" ]; + StartLimitBurst = 5; + StartLimitIntervalSec = 10; }; Service = { @@ -39,6 +41,7 @@ in { BusName = "org.taffybar.Bar"; ExecStart = "${cfg.package}/bin/taffybar"; Restart = "on-failure"; + RestartSec = "2s"; }; Install = { WantedBy = [ "tray.target" ]; };