aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index a7f65c4..765c544 100644
--- a/flake.nix
+++ b/flake.nix
@@ -75,6 +75,7 @@
description = "WebTray Instance for ${name}";
serviceConfig = {
Type = "simple";
+ Restart = "on-failure";
ExecStart = "${self.packages.${pkgs.system}.default}/bin/webtray ${value.url}${
if value.openInWindow then " --open-at-startup" else ""
}";