diff --git a/hosts/nas/hardware-configuration.nix b/hosts/nas/hardware-configuration.nix index d126be3..a9f82ce 100644 --- a/hosts/nas/hardware-configuration.nix +++ b/hosts/nas/hardware-configuration.nix @@ -64,6 +64,32 @@ "/mnt/snapshots/root" = { snapshot_create = "always"; subvolume = "@home"; + subvolume = "@nas"; + }; + }; + }; + }; + lf = { + onCalendar = "daily"; + settings = { + incremental = "yes"; + snapshot_create = "ondemand"; + snapshot_dir = "@snapshots"; + timestamp_format = "long"; + + snapshot_preserve = "2m 2w 5d"; + snapshot_preserve_min = "latest"; + + volume = { + "/mnt/snapshots/Pluto" = { + snapshot_create = "always"; + subvolume = "@"; + subvolume = "@/Backups"; + subvolume = "@/Games"; + subvolume = "@/IT"; + subvolume = "@/Media"; + subvolume = "@/Pictures"; + subvolume = "@/Rest"; }; }; };