diff --git a/nixos/hosts/framework-server/disks.nix b/nixos/hosts/framework-server/disks.nix index 60d7899a..225d040e 100644 --- a/nixos/hosts/framework-server/disks.nix +++ b/nixos/hosts/framework-server/disks.nix @@ -1,6 +1,16 @@ { 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" + "0 4 * * 3 albert sudo btrfs-backup home" + "0 6 * * 3 albert sudo btrfs-backup Storage" + ]; + }; + # extra configs not present in the standard config above services.snapper.configs.Storage = { TIMELINE_CREATE = true;