From e0cc6f013b47ffc0bb402ab794991140d39b46ca Mon Sep 17 00:00:00 2001 From: rogueking Date: Sun, 21 Jun 2026 14:52:34 -0400 Subject: [PATCH] using nixos-anywhere --- hosts/buildbox/disko-config.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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%";