mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
bcachefs: migrate to new part type
This commit is contained in:
parent
72e0068edd
commit
95c10a6c7f
1 changed files with 9 additions and 15 deletions
|
@ -5,35 +5,29 @@
|
|||
device = builtins.elemAt disks 0;
|
||||
type = "disk";
|
||||
content = {
|
||||
type = "table";
|
||||
format = "gpt";
|
||||
partitions = [
|
||||
{
|
||||
name = "ESP";
|
||||
start = "1MiB";
|
||||
type = "gpt";
|
||||
partitions = {
|
||||
ESP = {
|
||||
end = "100MiB";
|
||||
bootable = true;
|
||||
type = "EF00";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
};
|
||||
}
|
||||
{
|
||||
};
|
||||
root = {
|
||||
name = "root";
|
||||
start = "100MiB";
|
||||
end = "100%";
|
||||
part-type = "primary";
|
||||
end = "-0";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "bcachefs";
|
||||
mountpoint = "/";
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue