Update nixos-desktop to send backups to synology
This commit is contained in:
parent
0843563f84
commit
1a9ed94290
1 changed files with 9 additions and 1 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue