configuration.nix/hosts/rico1/hardware/filesystem.nix

47 lines
1.3 KiB
Nix
Raw Normal View History

2024-06-25 00:23:05 +05:30
_: {
2024-07-03 18:34:32 +05:30
boot = {
initrd.supportedFilesystems = [ "vfat" "btrfs" ];
supportedFilesystems = [ "vfat" "btrfs" "ext4" ];
};
2024-06-25 00:23:05 +05:30
fileSystems = {
"/" = {
2024-06-29 01:08:28 +05:30
device = "/dev/disk/by-partlabel/RICO1_ROOT";
2024-06-25 00:23:05 +05:30
fsType = "btrfs";
options = [ "subvol=@root" "compress-force=zstd" "noatime" ];
neededForBoot = true;
};
"/nix" = {
2024-06-29 01:08:28 +05:30
device = "/dev/disk/by-partlabel/RICO1_ROOT";
2024-06-25 00:23:05 +05:30
fsType = "btrfs";
options = [ "subvol=@nix" "compress-force=zstd" "noatime" ];
neededForBoot = true;
};
"/persist" = {
2024-06-29 01:08:28 +05:30
device = "/dev/disk/by-partlabel/RICO1_ROOT";
2024-06-25 00:23:05 +05:30
fsType = "btrfs";
options = [ "subvol=@persist" "compress-force=zstd" "noatime" ];
neededForBoot = true;
};
"/mnt/system" = {
2024-06-29 01:08:28 +05:30
device = "/dev/disk/by-partlabel/RICO1_ROOT";
2024-06-25 00:23:05 +05:30
fsType = "btrfs";
options = [ "subvol=/" "compress-force=zstd" "noatime" ];
};
2024-10-28 23:50:09 +05:30
"/mnt/data" = {
device = "/dev/disk/by-partlabel/DATA0";
fsType = "btrfs";
options = [ "subvol=/" "compress-force=zstd" "noatime" "nofail" "x-systemd.automount" "x-systemd.device-timeout=5" ];
};
2024-06-25 00:23:05 +05:30
"/boot" = {
2024-06-29 01:08:28 +05:30
device = "/dev/disk/by-partlabel/RICO1_BOOT";
2024-06-25 00:23:05 +05:30
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
};
}