From a1f6aad037b24c49eebcbdffb4412c751f3e07a8 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 10 May 2022 23:37:21 +0200 Subject: [PATCH] Remove monthly garbage collection of git repos --- modules/periodic.nix | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/modules/periodic.nix b/modules/periodic.nix index a9edc9e..d02cd1f 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -98,19 +98,6 @@ in { after = [ "network.target" ]; }; - # Garbage collect git repositories on a monthly basis - systemd.user.services.git-gc = { - 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/Projects --exec git -C '{}' gc - ${pkgs.fd}/bin/fd -g -H --type directory '.git' /home/coolneng/Repos --exec git -C '{}' gc - ''; - serviceConfig.Type = "oneshot"; - startAt = "*-*-13 17:00:00"; - }; - # HACK Change home partition permissions for mopidy systemd.services.chmod-home = { description = "Change home partition permissions for Mopidy";