diff --git a/README.md b/README.md index 0d0e9d8..60febc6 100644 --- a/README.md +++ b/README.md @@ -59,32 +59,34 @@ A simple disko configuration may look like this: ``` { disks ? [ "/dev/vdb" ], ... }: { - disk = { -  vdb = { -   device = builtins.elemAt disks 0; -   type = "disk"; -   content = { -    type = "gpt"; -    partitions = { -     ESP = { -      size = "100M"; -      content = { -       type = "filesystem"; -       format = "vfat"; -       mountpoint = "/boot"; -      }; -     }; -     root = { -      size = "100%"; -      content = { -       type = "filesystem"; -       format = "ext4"; -       mountpoint = "/"; -      }; -     }; -    }; -   }; -  }; + disko.devices = { + disk = { +  vdb = { +   device = builtins.elemAt disks 0; +   type = "disk"; +   content = { +    type = "gpt"; +    partitions = { +     ESP = { +      size = "500M"; +      content = { +       type = "filesystem"; +       format = "vfat"; +       mountpoint = "/boot"; +      }; +     }; +     root = { +      size = "100%"; +      content = { +       type = "filesystem"; +       format = "ext4"; +       mountpoint = "/"; +      }; +     }; +    }; +   }; +  }; + }; }; } ```