added persistent subvol

This commit is contained in:
twoneis 2024-05-08 14:41:43 +02:00
parent 3a7e29969d
commit 654d0077f5
2 changed files with 9 additions and 0 deletions

View file

@ -39,6 +39,10 @@
mountOptions = [ "compress=zstd" "noatime" ]; mountOptions = [ "compress=zstd" "noatime" ];
mountpoint = "/nix"; mountpoint = "/nix";
}; };
"/persistent" = {
mountOptions = [ "compress=zstd" "noatime" ];
mountpoint = "/persistent";
};
}; };
mountpoint = "/pratition-root"; mountpoint = "/pratition-root";

View file

@ -19,6 +19,11 @@
fsType = "btrfs"; fsType = "btrfs";
options = [ "subvol=nix" "compress=zstd" "noatime" ]; options = [ "subvol=nix" "compress=zstd" "noatime" ];
}; };
"/persistent" = {
device = "/dev/disk/by-uuid/7d29fef5-9fdf-43b4-ad17-a94774f802b5";
fsType = "btrfs";
options = [ "subvol=persistent" "compress=zstd" "noatime" ];
};
"/home" = { "/home" = {
device = "/dev/disk/by-uuid/7d29fef5-9fdf-43b4-ad17-a94774f802b5"; device = "/dev/disk/by-uuid/7d29fef5-9fdf-43b4-ad17-a94774f802b5";
fsType = "btrfs"; fsType = "btrfs";