services/bleachbit: update units

This commit is contained in:
Gabriel Arazas 2022-10-12 07:02:42 +08:00
parent bc847f28ea
commit 3b67d5b5e5

View File

@ -100,23 +100,20 @@ in {
services = {
bleachbit-cleanup = {
Unit = {
Description = "Monthly cleanup with Bleachbit";
Description = "Periodic cleaning with Bleachbit";
Documentation = [ "man:bleachbit(1)" "https://www.bleachbit.org" ];
};
Service = {
Restart = "on-failure";
ExecStart = "${pkgs.bleachbit}/bin/bleachbit --clean ${
lib.escapeShellArgs cleaners
}";
};
Service.ExecStart = ''
${pkgs.bleachbit}/bin/bleachbit --clean ${lib.escapeShellArgs cleaners}
'';
};
};
timers = {
bleachbit-cleanup = {
Unit = {
Description = "Periodic clean with Bleachbit";
Description = "Periodic cleaning with Bleachbit";
Documentation = [ "man:bleachbit(1)" "https://www.bleachbit.org" ];
PartOf = [ "default.target" ];
};