infra/hosts/build02/nixpkgs-update-backup.nix

18 lines
365 B
Nix
Raw Permalink Normal View History

{ config, inputs, ... }:
2023-04-30 14:22:16 +10:00
{
# 100GB storagebox is attached to the build02 server
2023-04-30 14:22:16 +10:00
2024-11-02 14:07:01 +10:00
imports = [
inputs.self.nixosModules.backup
];
2023-04-30 14:22:16 +10:00
2024-11-02 14:07:01 +10:00
nixCommunity.backup = [
{
name = "nixpkgs-update";
after = [ config.systemd.services.nixpkgs-update-delete-old-logs.name ];
paths = [ "/var/log/nixpkgs-update" ];
startAt = "hourly";
2024-11-02 14:07:01 +10:00
}
];
2023-04-30 14:22:16 +10:00
}