2023-03-29 21:48:55 +05:30
|
|
|
{ ... }: {
|
2023-03-15 22:11:59 +05:30
|
|
|
fileSystems = {
|
|
|
|
"/" = {
|
|
|
|
device = "tmpfs";
|
|
|
|
fsType = "tmpfs";
|
2023-03-29 21:48:55 +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-29 21:48:55 +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-29 21:48:55 +05:30
|
|
|
options = [ "subvol=/@persist" "compress-force=zstd" ];
|
2023-03-15 22:11:59 +05:30
|
|
|
neededForBoot = true;
|
|
|
|
};
|
2023-04-07 19:52:09 +05:30
|
|
|
"/tmp" = {
|
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
|
|
|
options = [ "subvol=/@tmp" "compress-force=zstd" "nosuid" "nodev" ];
|
|
|
|
neededForBoot = true;
|
|
|
|
};
|
2023-03-15 22:11:59 +05:30
|
|
|
"/mnt/system" = {
|
|
|
|
device = "/dev/vg0/system";
|
|
|
|
fsType = "btrfs";
|
2023-03-29 21:48:55 +05:30
|
|
|
options = [ "subvol=/" "compress-force=zstd" ];
|
2023-03-15 22:11:59 +05:30
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/disk/by-partlabel/ESP";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|