Update nixos-desktop to send backups to synology

This commit is contained in:
albert 2024-12-16 15:54:07 +01:00
parent 0843563f84
commit 1a9ed94290
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -1,6 +1,14 @@
{
imports = [ ../../common/services/snapper.nix ];
services.cron = {
systemCronJobs = [
# Back up Local-Storage to NFS Storage
"0 0 * * 3 albert sudo btrfs-backup root"
"0 2 * * 3 albert sudo btrfs-backup nix"
];
};
services.btrfs.autoScrub.enable = true;
services.btrfs.autoScrub.interval = "weekly";