feat(tanzanite): redundant storage configuration
This commit is contained in:
parent
0283dea2e6
commit
8bff5db0f5
1 changed files with 16 additions and 0 deletions
|
@ -18,9 +18,25 @@ in {
|
|||
boot.kernelModules = [ "kvm-intel" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
# Redundant Storage
|
||||
fileSystems."/opt/data" = {
|
||||
device = "/dev/disk/by-uuid/0acaee69-07df-45f3-a2f4-65e2f3fda529";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@data" "compress=zstd" ];
|
||||
};
|
||||
|
||||
fileSystems."/opt/docker-containers" = {
|
||||
device = "/dev/disk/by-uuid/0acaee69-07df-45f3-a2f4-65e2f3fda529";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@docker-containers" "compress=zstd" ];
|
||||
};
|
||||
|
||||
fileSystems."/opt/www" = {
|
||||
device = "/dev/disk/by-uuid/0acaee69-07df-45f3-a2f4-65e2f3fda529";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@www" "compress=zstd" ];
|
||||
};
|
||||
|
||||
# Non-Redundant Storage
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/ac31f656-1882-415e-bbb7-b4d24c0af01c";
|
||||
|
|
Loading…
Reference in a new issue