System snapshots and window manager configs

This commit is contained in:
2025-10-15 10:59:36 -05:00
parent 293242ec35
commit a2929f7dfa
6 changed files with 200 additions and 9 deletions

View File

@@ -0,0 +1,18 @@
{ config, pkgs, inputs, ... }:
{
services.btrbk = {
instances."local_snapshots" = {
onCalendar = "hourly";
settings = {
snapshot_preserve = "14d 8w 120m";
snapshot_preserve_min = "7d";
volume = {
"/media/2tb" = {
snapshot_dir = "/media/2tb/@snapshots";
subvolume = "@home";
};
};
};
};
};
}