Skip to content

Commit

Permalink
Merge pull request #182 from haslersn/disko-new-format
Browse files Browse the repository at this point in the history
README: fix disko instructions (use new format)
  • Loading branch information
mergify[bot] committed Aug 19, 2023
2 parents 5cdd6d6 + df9ccaf commit 7ff9f6d
Showing 1 changed file with 13 additions and 21 deletions.
34 changes: 13 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,37 +103,29 @@ Here’s an example of a simple disk configuration:
type = "disk";
device = builtins.elemAt disks 0;
content = {
type = "table";
format = "gpt";
partitions = [
{
name = "boot";
start = "0";
end = "1M";
flags = [ "bios_grub" ];
}
{
name = "ESP";
start = "1M";
end = "512M";
bootable = true;
type = "gpt";
partitions = {
boot = {
size = "1M";
type = "EF02"; # for grub MBR
};
ESP = {
size = "511M";
content = {
type = "filesystem";
format = "vfat";
mountpoint = "/boot";
};
}
{
name = "root";
start = "512M";
end = "100%";
};
root = {
size = "100%";
content = {
type = "filesystem";
format = "ext4";
mountpoint = "/";
};
}
];
};
};
};
};
};
Expand Down

0 comments on commit 7ff9f6d

Please sign in to comment.