configuration.nix/hosts/rico0/hardware/filesystem.nix

37 lines
933 B
Nix
Raw Normal View History

2024-06-29 17:52:32 +05:30
_: {
fileSystems = {
"/" = {
device = "/dev/disk/by-partlabel/RICO0_ROOT";
fsType = "btrfs";
options = [ "subvol=@root" "compress-force=zstd" "noatime" ];
neededForBoot = true;
};
"/nix" = {
device = "/dev/disk/by-partlabel/RICO0_ROOT";
fsType = "btrfs";
options = [ "subvol=@nix" "compress-force=zstd" "noatime" ];
neededForBoot = true;
};
"/persist" = {
device = "/dev/disk/by-partlabel/RICO0_ROOT";
fsType = "btrfs";
options = [ "subvol=@persist" "compress-force=zstd" "noatime" ];
neededForBoot = true;
};
"/mnt/system" = {
device = "/dev/disk/by-partlabel/RICO0_ROOT";
fsType = "btrfs";
options = [ "subvol=/" "compress-force=zstd" "noatime" ];
};
"/boot" = {
device = "/dev/disk/by-partlabel/RICO0_BOOT";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
};
}