Compare commits
2 Commits
6af773d35a
...
a1f6aad037
Author | SHA1 | Date |
---|---|---|
coolneng | a1f6aad037 | |
coolneng | a2c0337bae |
|
@ -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";
|
||||||
|
@ -124,8 +111,8 @@ in {
|
||||||
# Push panacea changes to git daily
|
# Push panacea changes to git daily
|
||||||
systemd.user.services.panacea-push = {
|
systemd.user.services.panacea-push = {
|
||||||
description = "Push panacea changes to git";
|
description = "Push panacea changes to git";
|
||||||
path = [ git gitAndTools.pass-git-helper ];
|
path = [ pass-wayland git gitAndTools.pass-git-helper ];
|
||||||
script = "${pkgs.git}/bin/git push";
|
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/panacea push";
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
startAt = "14:00:00";
|
startAt = "14:00:00";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue