more snapshot configs

This commit is contained in:
2025-10-17 13:20:46 -05:00
parent a2929f7dfa
commit 13d3554003
3 changed files with 25 additions and 17 deletions

View File

@@ -3,10 +3,12 @@
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./snapshot.nix
../../modules/nixos/localization.nix
../../modules/nixos/ai/default.nix
../../modules/nixos/desktops/gnome.nix
../../modules/nixos/desktops/hyprland.nix
../../modules/nixos/desktops/river.nix
];
# Bootloader.

View File

@@ -14,5 +14,18 @@
};
};
};
instances."duplicate_to_second_drive" = {
onCalendar = "daily";
settings = {
snapshot_preserve = "14d 8w 120m";
snapshot_preserve_min = "7d";
volume = {
"/media/2tb" = {
target = "/media/12tb/@snapshots";
subvolume = "@home";
};
};
};
};
};
}