2023-03-25 22:10:09 +05:30
|
|
|
{...}: {
|
2023-03-15 22:11:59 +05:30
|
|
|
boot.tmpOnTmpfs = true;
|
|
|
|
fileSystems = {
|
|
|
|
"/" = {
|
|
|
|
device = "tmpfs";
|
|
|
|
fsType = "tmpfs";
|
2023-03-25 22:10:09 +05:30
|
|
|
options = ["defaults" "uid=0" "gid=0" "mode=0755"];
|
2023-03-15 22:11:59 +05:30
|
|
|
neededForBoot = true;
|
|
|
|
};
|
|
|
|
"/nix" = {
|
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
2023-03-25 22:10:09 +05:30
|
|
|
options = ["subvol=/@nix" "compress-force=zstd"];
|
2023-03-15 22:11:59 +05:30
|
|
|
neededForBoot = true;
|
|
|
|
};
|
|
|
|
"/persist" = {
|
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
2023-03-25 22:10:09 +05:30
|
|
|
options = ["subvol=/@persist" "compress-force=zstd"];
|
2023-03-15 22:11:59 +05:30
|
|
|
neededForBoot = true;
|
|
|
|
};
|
|
|
|
"/mnt/system" = {
|
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
2023-03-25 22:10:09 +05:30
|
|
|
options = ["subvol=/" "compress-force=zstd"];
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/disk/by-partlabel/ESP";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|