{ disks ? [ "/dev/sda" ], ... }: { disko.devices = { disk = { sda = { device = builtins.elemAt disks 0; type = "disk"; content = { type = "gpt"; partitions = { boot = { size = "1M"; # for grub MBR type = "EF02"; }; root = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }; }; }; }