{ ... }: { # BIOS/GPT single-disk layout for the KVM VPS (virtio /dev/vda). # EF02 grub partition + a small swap + ext4 root spanning the rest. disko.devices.disk.main = { type = "disk"; device = "/dev/vda"; content = { type = "gpt"; partitions = { boot = { size = "1M"; type = "EF02"; # BIOS boot partition for GRUB }; swap = { size = "4G"; content = { type = "swap"; discardPolicy = "both"; }; }; root = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }; }