Fix git-gc periodic timer

This commit is contained in:
coolneng 2022-04-15 04:31:31 +02:00
parent 2c0034fc82
commit 70475ce7c9
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ 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/Documents --exec git -C '{}' gc ${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/Projects --exec git -C '{}' gc
${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Repos --exec git -C '{}' gc ${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Repos --exec git -C '{}' gc
''; '';