disko/example/legacy-table.nix
Jörg Thalheim 78fba3983d make boot large enough in tests
100M is not enough and I see people just copying examples without putting in any extra thoughts
https://github.com/TUM-DSE/doctor-cluster-config/pull/368
2023-09-27 06:19:07 +00:00

40 lines
870 B
Nix

{
disko.devices = {
disk = {
vdb = {
device = "/dev/sda";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "ESP";
start = "1M";
end = "500M";
bootable = true;
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "root";
start = "500M";
end = "100%";
part-type = "primary";
bootable = true;
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
};
};
};
};
}