more snapshot configs
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user