fix(nix-hm): set systemd service RestartSec to 3

This commit is contained in:
Price Hiller 2024-02-19 01:11:54 -06:00
parent 529e913d40
commit eb4a4c73fd
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -245,8 +245,10 @@ in {
}; };
services = { services = {
waybar = { waybar = {
Service.Environment = [ "GTK_THEME='THIS THEME DOES NOT EXIST!'" ]; Service = {
Service.ExecStartPre = "env"; Environment = [ "GTK_THEME='THIS THEME DOES NOT EXIST!'" ];
RestartSec = 3;
};
Install.WantedBy = [ "compositor.target" ]; Install.WantedBy = [ "compositor.target" ];
Unit = { Unit = {
PartOf = [ "compositor.target" ]; PartOf = [ "compositor.target" ];
@ -254,6 +256,7 @@ in {
}; };
}; };
opensnitch-ui = { opensnitch-ui = {
Service.RestartSec = 3;
Install.WantedBy = [ "compositor.target" ]; Install.WantedBy = [ "compositor.target" ];
Unit = { Unit = {
PartOf = [ "compositor.target" ]; PartOf = [ "compositor.target" ];
@ -261,6 +264,7 @@ in {
}; };
}; };
easyeffects = { easyeffects = {
Service.RestartSec = 3;
Install.WantedBy = [ "compositor.target" ]; Install.WantedBy = [ "compositor.target" ];
Unit = { Unit = {
PartOf = [ "compositor.target" ]; PartOf = [ "compositor.target" ];
@ -268,6 +272,7 @@ in {
}; };
}; };
cliphist = { cliphist = {
Service.RestartSec = 3;
Install.WantedBy = [ "compositor.target" ]; Install.WantedBy = [ "compositor.target" ];
Unit = { Unit = {
PartOf = [ "compositor.target" ]; PartOf = [ "compositor.target" ];