diff --git a/modules/home-manager/services/bleachbit.nix b/modules/home-manager/services/bleachbit.nix index c82fead6..f8564f7d 100644 --- a/modules/home-manager/services/bleachbit.nix +++ b/modules/home-manager/services/bleachbit.nix @@ -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" ]; };