bcachefs: migrate to new part type

This commit is contained in:
Jörg Thalheim authored and mergify[bot] committed 2023-06-16 20:01:12 +00:00
1 parent 72e0068edd
commit 95c10a6c7f
1 file changed
+9 -15
+9 -15
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 = "/";
}; };
} };
]; };
}; };
}; };
}; };
}; };
} }