42 lines
1 KiB
Nix
42 lines
1 KiB
Nix
_: {
|
|
fileSystems = {
|
|
"/" = {
|
|
device = "/dev/disk/by-label/RICO1_ROOT";
|
|
fsType = "btrfs";
|
|
options = [ "subvol=@root" "compress-force=zstd" "noatime" ];
|
|
neededForBoot = true;
|
|
};
|
|
|
|
"/nix" = {
|
|
device = "/dev/disk/by-label/RICO1_ROOT";
|
|
fsType = "btrfs";
|
|
options = [ "subvol=@nix" "compress-force=zstd" "noatime" ];
|
|
neededForBoot = true;
|
|
};
|
|
|
|
"/persist" = {
|
|
device = "/dev/disk/by-label/RICO1_ROOT";
|
|
fsType = "btrfs";
|
|
options = [ "subvol=@persist" "compress-force=zstd" "noatime" ];
|
|
neededForBoot = true;
|
|
};
|
|
|
|
"/mnt/system" = {
|
|
device = "/dev/disk/by-label/RICO1_ROOT";
|
|
fsType = "btrfs";
|
|
options = [ "subvol=/" "compress-force=zstd" "noatime" ];
|
|
};
|
|
|
|
"/boot" = {
|
|
device = "/dev/disk/by-label/RICO1_BOOT";
|
|
fsType = "ext2";
|
|
options = [ "noatime" ];
|
|
};
|
|
|
|
"/boot/firmware" = {
|
|
device = "/dev/disk/by-label/R1_FIRMWARE";
|
|
fsType = "vfat";
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
|
};
|
|
};
|
|
}
|