Add /Storage btrfs volume

This commit is contained in:
iFargle 2023-12-28 16:52:06 +09:00
parent 194e2c1ab8
commit b52a4a2364

View file

@ -5,6 +5,14 @@
# sudo btrfs subvolume create /.snapshots
# sudo btrfs subvolume create /nix/.snapshots
# sudo btrfs subvolume create /home/.snapshots
# sudo btrfs subvolume create /Storage/.snapshots
# extra configs
services.snapper.configs.Storage = {
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
SUBVOLUME = "/Storage";
};
services.btrfs.autoScrub.enable = true;
services.btrfs.autoScrub.interval = "weekly";
@ -52,11 +60,10 @@
mountpoint = "/nix";
mountOptions = [ "compress=zstd" "noatime" ];
}; # nix
# Re-add this on the next refomrat
# "/Storage" = {
# mountpoint = "/Storage";
# mountOptions = [ "compress=zstd" "noatime" ];
# }; # Storage
"/Storage" = {
mountpoint = "/Storage";
mountOptions = [ "compress=zstd" "noatime" ];
}; # Storage
}; # subvolumes
}; # content.content
}; # content