2023-05-18 16:11:26 +05:30
|
|
|
{...}: {
|
2023-03-15 22:11:59 +05:30
|
|
|
fileSystems = {
|
|
|
|
"/" = {
|
2023-04-26 22:57:32 +05:30
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
2023-05-18 16:11:26 +05:30
|
|
|
options = ["subvol=@root" "compress-force=zstd" "noatime"];
|
2023-03-15 22:11:59 +05:30
|
|
|
neededForBoot = true;
|
|
|
|
};
|
2023-04-26 22:57:32 +05:30
|
|
|
"/home" = {
|
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
2023-05-18 16:11:26 +05:30
|
|
|
options = ["subvol=@home" "compress-force=zstd" "noatime"];
|
2023-04-26 22:57:32 +05:30
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
"/nix" = {
|
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
2023-05-18 16:11:26 +05:30
|
|
|
options = ["subvol=/@nix" "compress-force=zstd" "noatime"];
|
2023-03-15 22:11:59 +05:30
|
|
|
neededForBoot = true;
|
|
|
|
};
|
|
|
|
"/persist" = {
|
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
2023-05-18 16:11:26 +05:30
|
|
|
options = ["subvol=/@persist" "compress-force=zstd" "noatime"];
|
2023-03-15 22:11:59 +05:30
|
|
|
neededForBoot = true;
|
|
|
|
};
|
|
|
|
"/mnt/system" = {
|
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
2023-05-18 16:11:26 +05:30
|
|
|
options = ["subvol=/" "compress-force=zstd" "noatime"];
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/disk/by-partlabel/ESP";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|