diff --git a/hosts/buildbox/disko-config.nix b/hosts/buildbox/disko-config.nix index 51fee39..91d1bf8 100644 --- a/hosts/buildbox/disko-config.nix +++ b/hosts/buildbox/disko-config.nix @@ -15,14 +15,14 @@ partitions = { # GRUB's core.img lives here on GPT/BIOS systems (GPT leaves no # gap after the MBR, so grub-install needs an EF02 partition). - # Not mounted; grub-install writes the boot code directly. + # No `content` block — this partition holds raw GRUB boot code, + # not a filesystem. disko also derives boot.loader.grub.devices + # from this partition automatically. + # See: https://github.com/nix-community/disko/blob/master/example/gpt-bios-compat.nix boot = { size = "1M"; type = "EF02"; - content = { - type = "filesystem"; - format = "empty"; - }; + attributes = [0]; }; root = { size = "100%";