configuration.nix/hosts/skipper/hardware/filesystem.nix

37 lines
954 B
Nix
Raw Normal View History

2023-07-11 22:41:18 +05:30
_: {
2023-03-15 22:11:59 +05:30
fileSystems = {
"/" = {
device = "/dev/vg0/system";
fsType = "btrfs";
2023-11-04 16:12:45 +05:30
options = [ "subvol=@root" "compress-force=zstd" "noatime" ];
2023-03-15 22:11:59 +05:30
neededForBoot = true;
};
"/home" = {
device = "/dev/vg0/system";
fsType = "btrfs";
2023-11-04 16:12:45 +05:30
options = [ "subvol=@home" "compress-force=zstd" "noatime" ];
};
2023-03-15 22:11:59 +05:30
"/nix" = {
device = "/dev/vg0/system";
fsType = "btrfs";
2023-11-04 16:12:45 +05:30
options = [ "subvol=/@nix" "compress-force=zstd" "noatime" ];
2023-03-15 22:11:59 +05:30
neededForBoot = true;
};
"/persist" = {
device = "/dev/vg0/system";
fsType = "btrfs";
2023-11-04 16:12:45 +05:30
options = [ "subvol=/@persist" "compress-force=zstd" "noatime" ];
2023-03-15 22:11:59 +05:30
neededForBoot = true;
};
"/mnt/system" = {
device = "/dev/vg0/system";
fsType = "btrfs";
2023-11-04 16:12:45 +05:30
options = [ "subvol=/" "compress-force=zstd" "noatime" ];
2023-03-15 22:11:59 +05:30
};
"/boot" = {
device = "/dev/disk/by-partlabel/ESP";
fsType = "vfat";
};
};
}