From 70475ce7c9743611402ec33375fc2b6d35654a94 Mon Sep 17 00:00:00 2001 From: coolneng Date: Fri, 15 Apr 2022 04:31:31 +0200 Subject: [PATCH] Fix git-gc periodic timer --- modules/periodic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/periodic.nix b/modules/periodic.nix index 7ba4cba..c1f3cf0 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -103,7 +103,7 @@ in { description = "Garbage collect git repositories"; path = [ git fd ]; 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/Repos --exec git -C '{}' gc '';