{ disko.devices = { disk = { main = { device = "/dev/vda"; type = "disk"; content = { type = "gpt"; partitions = { ESP = { type = "EF02"; size = "512M"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; # swap = { # size = "2G"; # content = { # type = "swap"; # }; # }; root = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }; }; }; }