{ disko.devices = { disk.disk1 = { device = "/dev/vda"; type = "disk"; content = { type = "gpt"; partitions = { ESP = { type = "EF00"; size = "500M"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; root = { size = "100%"; content = { type = "lvm_pv"; vg = "pool"; }; }; }; }; }; lvm_vg.pool = { type = "lvm_vg"; lvs.root = { size = "100%FREE"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; mountOptions = [ "defaults" ]; }; }; }; }; }