Add /Storage btrfs volume
This commit is contained in:
parent
194e2c1ab8
commit
b52a4a2364
1 changed files with 12 additions and 5 deletions
|
@ -5,6 +5,14 @@
|
||||||
# sudo btrfs subvolume create /.snapshots
|
# sudo btrfs subvolume create /.snapshots
|
||||||
# sudo btrfs subvolume create /nix/.snapshots
|
# sudo btrfs subvolume create /nix/.snapshots
|
||||||
# sudo btrfs subvolume create /home/.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.enable = true;
|
||||||
services.btrfs.autoScrub.interval = "weekly";
|
services.btrfs.autoScrub.interval = "weekly";
|
||||||
|
@ -52,11 +60,10 @@
|
||||||
mountpoint = "/nix";
|
mountpoint = "/nix";
|
||||||
mountOptions = [ "compress=zstd" "noatime" ];
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
}; # nix
|
}; # nix
|
||||||
# Re-add this on the next refomrat
|
"/Storage" = {
|
||||||
# "/Storage" = {
|
mountpoint = "/Storage";
|
||||||
# mountpoint = "/Storage";
|
mountOptions = [ "compress=zstd" "noatime" ];
|
||||||
# mountOptions = [ "compress=zstd" "noatime" ];
|
}; # Storage
|
||||||
# }; # Storage
|
|
||||||
}; # subvolumes
|
}; # subvolumes
|
||||||
}; # content.content
|
}; # content.content
|
||||||
}; # content
|
}; # content
|
||||||
|
|
Loading…
Reference in a new issue