fix(nix-hm): set systemd service RestartSec to 3
This commit is contained in:
parent
529e913d40
commit
eb4a4c73fd
@ -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" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user