bcachefs: migrate to new part type

This commit is contained in:
Jörg Thalheim 2023-06-16 21:24:22 +02:00 committed by mergify[bot]
parent 72e0068edd
commit 95c10a6c7f

View file

@ -5,35 +5,29 @@
device = builtins.elemAt disks 0; device = builtins.elemAt disks 0;
type = "disk"; type = "disk";
content = { content = {
type = "table"; type = "gpt";
format = "gpt"; partitions = {
partitions = [ ESP = {
{
name = "ESP";
start = "1MiB";
end = "100MiB"; end = "100MiB";
bootable = true; type = "EF00";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "vfat"; format = "vfat";
mountpoint = "/boot"; mountpoint = "/boot";
}; };
} };
{ root = {
name = "root"; name = "root";
start = "100MiB"; end = "-0";
end = "100%";
part-type = "primary";
content = { content = {
type = "filesystem"; type = "filesystem";
format = "bcachefs"; format = "bcachefs";
mountpoint = "/"; mountpoint = "/";
}; };
} };
]; };
}; };
}; };
}; };
}; };
} }