Garbage collect without the aggressive option
This commit is contained in:
parent
68daf57cae
commit
ff3d88746a
|
@ -85,7 +85,9 @@ in {
|
||||||
description = "Garbage collect git repositories";
|
description = "Garbage collect git repositories";
|
||||||
path = [ git fd ];
|
path = [ git fd ];
|
||||||
script = ''
|
script = ''
|
||||||
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng --exec git -C '{}' gc --aggressive
|
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Documents --exec git -C '{}' gc
|
||||||
|
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Projects --exec git -C '{}' gc
|
||||||
|
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Repos --exec git -C '{}' gc
|
||||||
'';
|
'';
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
startAt = "*-*-13 17:00:00";
|
startAt = "*-*-13 17:00:00";
|
||||||
|
|
Loading…
Reference in New Issue