Remove monthly garbage collection of git repos
This commit is contained in:
parent
a2c0337bae
commit
a1f6aad037
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue