From ce676449a65e0055354637a1b135c66fa2ce5ac8 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 2 May 2022 00:46:17 +0200 Subject: [PATCH] Push dependencies bumps to git daily --- modules/periodic.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/periodic.nix b/modules/periodic.nix index 550cc6c..09f0d09 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -120,4 +120,13 @@ in { after = [ "home-coolneng.mount" ]; before = [ "mopidy.service" "mopidy-scan.service" ]; }; + + # Push panacea changes to git daily + systemd.user.services.panacea-push = { + description = "Push panacea changes to git"; + path = [ git gitAndTools.pass-git-helper ]; + script = "${pkgs.git}/bin/git push"; + serviceConfig.Type = "oneshot"; + startAt = "14:00:00"; + }; }