diff --git a/nixos/hosts/framework-server/disks.nix b/nixos/hosts/framework-server/disks.nix index af3dfa05..bbf32579 100644 --- a/nixos/hosts/framework-server/disks.nix +++ b/nixos/hosts/framework-server/disks.nix @@ -7,7 +7,7 @@ # sudo btrfs subvolume create /home/.snapshots # sudo btrfs subvolume create /Storage/.snapshots - # extra configs + # extra configs not present in the standard config above services.snapper.configs.Storage = { TIMELINE_CREATE = true; TIMELINE_CLEANUP = true; @@ -64,6 +64,23 @@ mountpoint = "/Storage"; mountOptions = [ "compress=zstd" "noatime" ]; }; # Storage + # SNAPSHOT SUBVOLS + "/root/.snapshots" = { + mountpoint = "/.snapshots"; + mountOptions = [ "compress=zstd" "noatime" ]; + }; # root + "/home/.snapshots" = { + mountpoint = "/home/.snapshots"; + mountOptions = [ "compress=zstd" "noatime" ]; + }; # home + "/nix/.snapshots" = { + mountpoint = "/nix/.snapshots"; + mountOptions = [ "compress=zstd" "noatime" ]; + }; # nix + "/Storage/.snapshots" = { + mountpoint = "/Storage/.snapshots"; + mountOptions = [ "compress=zstd" "noatime" ]; + }; # Storage }; # subvolumes }; # content.content }; # content