Configure flake auto-upgrade

This commit is contained in:
2022-06-07 00:11:57 +02:00
parent f5966c6271
commit 747b7ce7ca
4 changed files with 44 additions and 6 deletions

View File

@@ -83,4 +83,14 @@ in {
requires = [ "sata-hat.service" ];
after = [ "vault.mount" ];
};
# Push zion changes to git daily
systemd.services.zion-push = {
description = "Push zion changes to git";
path = with pkgs; [ git ];
script = "${pkgs.git}/bin/git -C /home/coolneng/system push";
serviceConfig.Type = "oneshot";
startAt = "07:00:00";
after = [ "network-online.target" ];
};
}