device: { disk = { "${device}" = { type = "disk"; device = "/dev/${device}"; content = { type = "gpt"; partitions = { ESP = { size = "1G"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; ZFS = { size = "100%"; content = { type = "zfs"; pool = "zroot"; }; }; }; }; }; }; }