Remove monthly garbage collection of git repos

This commit is contained in:
coolneng 2022-05-10 23:37:21 +02:00
parent a2c0337bae
commit a1f6aad037
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 0 additions and 13 deletions

View File

@ -98,19 +98,6 @@ in {
after = [ "network.target" ]; 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 # HACK Change home partition permissions for mopidy
systemd.services.chmod-home = { systemd.services.chmod-home = {
description = "Change home partition permissions for Mopidy"; description = "Change home partition permissions for Mopidy";