Skip to content

Commit

Permalink
migrate to gpt type from legacy table type
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Jun 7, 2024
1 parent cf83d74 commit 2e19b95
Showing 1 changed file with 14 additions and 24 deletions.
38 changes: 14 additions & 24 deletions tests/modules/system-to-install.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,40 +16,30 @@
device = "/dev/vda";
type = "disk";
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "boot";
start = "0";
end = "1M";
part-type = "primary";
flags = [ "bios_grub" ];
}
{
name = "ESP";
start = "1MiB";
end = "100MiB";
bootable = true;
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02";
};
ESP = {
size = "100M";
type = "EF00";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "root";
start = "100MiB";
end = "100%";
part-type = "primary";
bootable = true;
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
};
};
};
};
};
Expand Down

0 comments on commit 2e19b95

Please sign in to comment.