disko/example/bcachefs.nix

34 lines
735 B
Nix
Raw Normal View History

{
disko.devices = {
disk = {
vdb = {
device = "/dev/disk/by-path/pci-0000:02:00.0-nvme-1";
type = "disk";
content = {
2023-06-16 19:24:22 +00:00
type = "gpt";
partitions = {
ESP = {
end = "500M";
2023-06-16 19:24:22 +00:00
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
2023-06-16 19:24:22 +00:00
};
root = {
name = "root";
2023-06-16 19:24:22 +00:00
end = "-0";
content = {
type = "filesystem";
format = "bcachefs";
mountpoint = "/";
};
2023-06-16 19:24:22 +00:00
};
};
};
2022-12-29 17:46:31 +00:00
};
};
};
}