mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
services/bleachbit: update units
This commit is contained in:
parent
bc847f28ea
commit
3b67d5b5e5
@ -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" ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user