nixpkgs-update: switch to hourly backups

This commit is contained in:
zowoq 2024-11-03 15:21:34 +10:00
parent 4eda852b6f
commit cf9f6100a9
2 changed files with 2 additions and 2 deletions
hosts/build02
modules/nixos/monitoring

View file

@ -11,7 +11,7 @@
name = "nixpkgs-update";
after = [ config.systemd.services.nixpkgs-update-delete-old-logs.name ];
paths = [ "/var/log/nixpkgs-update" ];
startAt = "daily";
startAt = "hourly";
}
];
}

View file

@ -5,7 +5,6 @@
(lib.genAttrs
[
"borgbackup-job-github-org.service"
"borgbackup-job-nixpkgs-update.service"
]
(name: {
expr = ''absent_over_time(task_last_run{name="${name}"}[1d])'';
@ -14,6 +13,7 @@
)
// (lib.genAttrs
[
"borgbackup-job-nixpkgs-update.service"
]
(name: {
expr = ''absent_over_time(task_last_run{name="${name}"}[1h])'';