36 lines
948 B
Nix
36 lines
948 B
Nix
{...}: {
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/vg0/system";
|
|
fsType = "btrfs";
|
|
options = ["subvol=@root" "compress-force=zstd" "noatime"];
|
|
neededForBoot = true;
|
|
};
|
|
"/home" = {
|
|
device = "/dev/vg0/system";
|
|
fsType = "btrfs";
|
|
options = ["subvol=@home" "compress-force=zstd" "noatime"];
|
|
};
|
|
"/nix" = {
|
|
device = "/dev/vg0/system";
|
|
fsType = "btrfs";
|
|
options = ["subvol=/@nix" "compress-force=zstd" "noatime"];
|
|
neededForBoot = true;
|
|
};
|
|
"/persist" = {
|
|
device = "/dev/vg0/system";
|
|
fsType = "btrfs";
|
|
options = ["subvol=/@persist" "compress-force=zstd" "noatime"];
|
|
neededForBoot = true;
|
|
};
|
|
"/mnt/system" = {
|
|
device = "/dev/vg0/system";
|
|
fsType = "btrfs";
|
|
options = ["subvol=/" "compress-force=zstd" "noatime"];
|
|
};
|
|
"/boot" = {
|
|
device = "/dev/disk/by-partlabel/ESP";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
}
|