37 lines
946 B
Nix
37 lines
946 B
Nix
{ ... }: {
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "tmpfs";
|
|
fsType = "tmpfs";
|
|
options = [ "defaults" "uid=0" "gid=0" "mode=0755" ];
|
|
neededForBoot = true;
|
|
};
|
|
"/nix" = {
|
|
device = "/dev/vg0/system";
|
|
fsType = "btrfs";
|
|
options = [ "subvol=/@nix" "compress-force=zstd" ];
|
|
neededForBoot = true;
|
|
};
|
|
"/persist" = {
|
|
device = "/dev/vg0/system";
|
|
fsType = "btrfs";
|
|
options = [ "subvol=/@persist" "compress-force=zstd" ];
|
|
neededForBoot = true;
|
|
};
|
|
"/tmp" = {
|
|
device = "/dev/vg0/system";
|
|
fsType = "btrfs";
|
|
options = [ "subvol=/@tmp" "compress-force=zstd" "nosuid" "nodev" ];
|
|
neededForBoot = true;
|
|
};
|
|
"/mnt/system" = {
|
|
device = "/dev/vg0/system";
|
|
fsType = "btrfs";
|
|
options = [ "subvol=/" "compress-force=zstd" ];
|
|
};
|
|
"/boot" = {
|
|
device = "/dev/disk/by-partlabel/ESP";
|
|
fsType = "vfat";
|
|
};
|
|
};
|
|
}
|