Configure flake auto-upgrade
This commit is contained in:
@@ -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" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user