Restart with delay
This commit is contained in:
parent
68fc8643d4
commit
b6975f5e70
2 changed files with 4 additions and 1 deletions
|
|
@ -225,6 +225,7 @@ in
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${spotify}/bin/spotify";
|
ExecStart = "${spotify}/bin/spotify";
|
||||||
Type = "exec";
|
Type = "exec";
|
||||||
|
RestartSec = 15;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -243,6 +244,7 @@ in
|
||||||
ExecStart = "${pkgs.mako}/bin/mako";
|
ExecStart = "${pkgs.mako}/bin/mako";
|
||||||
Type = "exec";
|
Type = "exec";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
RestartSec = 15;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -261,6 +263,7 @@ in
|
||||||
ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite";
|
ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite";
|
||||||
Type = "exec";
|
Type = "exec";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
RestartSec = 15;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -320,6 +323,7 @@ in
|
||||||
inputs.automapaper.packages.${pkgs.system}.automapaper
|
inputs.automapaper.packages.${pkgs.system}.automapaper
|
||||||
}/bin/automapaper -C ${display_config}/config.toml";
|
}/bin/automapaper -C ${display_config}/config.toml";
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
|
RestartSec = 15;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
) displays
|
) displays
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,6 @@ in
|
||||||
package = cfg.package;
|
package = cfg.package;
|
||||||
systemd = {
|
systemd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
target = "niri.service";
|
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
mainBar = {
|
mainBar = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue