Perform a git pull on the zion repository daily

This commit is contained in:
coolneng 2022-06-20 22:52:06 +02:00
parent 854b2e5baf
commit fbcefecba6
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 10 additions and 0 deletions

View File

@ -130,4 +130,14 @@ in {
startAt = "*-*-15 14:00:00"; startAt = "*-*-15 14:00:00";
after = [ "network-online.target" ]; after = [ "network-online.target" ];
}; };
# Pull changes from zion daily
systemd.user.services.zion-pull = {
description = "Pull zion changes to git";
path = [ git ];
script = "${pkgs.git}/bin/git -C /home/coolneng/Projects/zion pull";
serviceConfig.Type = "oneshot";
startAt = "10:00:00";
after = [ "network-online.target" ];
};
} }