From f77d6b7a2d8e404a9ad125ea2409af7f6e4b7fbc Mon Sep 17 00:00:00 2001
From: Robert Helgesson <robert@rycee.net>
Date: Tue, 26 Mar 2019 18:05:44 +0100
Subject: [PATCH] taffybar: restart the service on failure

---
 modules/services/taffybar.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/services/taffybar.nix b/modules/services/taffybar.nix
index 3ccec98a4..23af231ef 100644
--- a/modules/services/taffybar.nix
+++ b/modules/services/taffybar.nix
@@ -35,6 +35,7 @@ in
 
       Service = {
         ExecStart = "${cfg.package}/bin/taffybar";
+        Restart = "on-failure";
       };
 
       Install = {