From eb4a4c73fd40fc1d9d69e0059c555714ec5afbc0 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 19 Feb 2024 01:11:54 -0600 Subject: [PATCH] fix(nix-hm): set systemd service RestartSec to 3 --- config/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/config/default.nix b/config/default.nix index 113aad95..3d9e96c5 100644 --- a/config/default.nix +++ b/config/default.nix @@ -245,8 +245,10 @@ in { }; services = { waybar = { - Service.Environment = [ "GTK_THEME='THIS THEME DOES NOT EXIST!'" ]; - Service.ExecStartPre = "env"; + Service = { + Environment = [ "GTK_THEME='THIS THEME DOES NOT EXIST!'" ]; + RestartSec = 3; + }; Install.WantedBy = [ "compositor.target" ]; Unit = { PartOf = [ "compositor.target" ]; @@ -254,6 +256,7 @@ in { }; }; opensnitch-ui = { + Service.RestartSec = 3; Install.WantedBy = [ "compositor.target" ]; Unit = { PartOf = [ "compositor.target" ]; @@ -261,6 +264,7 @@ in { }; }; easyeffects = { + Service.RestartSec = 3; Install.WantedBy = [ "compositor.target" ]; Unit = { PartOf = [ "compositor.target" ]; @@ -268,6 +272,7 @@ in { }; }; cliphist = { + Service.RestartSec = 3; Install.WantedBy = [ "compositor.target" ]; Unit = { PartOf = [ "compositor.target" ];