diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index 9a081ba9..122beb12 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -1,7 +1,6 @@ { imports = [ ../../common/services/snapper.nix ]; - services.cron = { systemCronJobs = [ # Back up Local-Storage to NFS Storage diff --git a/nixos/hosts/nuc-server/disks.nix b/nixos/hosts/nuc-server/disks.nix index 99c72a2c..88ff6005 100644 --- a/nixos/hosts/nuc-server/disks.nix +++ b/nixos/hosts/nuc-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 Local-Storage" + ]; + }; + # extra configs not present in the standard config above services.snapper.configs.Local-Storage = { TIMELINE_CREATE = true;