{ disko.devices = { disk = { sda = { type = "disk"; device = "/dev/sda"; content = { type = "gpt"; partitions = { ESP = { size = "500M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; }; }; luks = { size = "100%"; content = { type = "luks"; name = "crypted"; settings.allowDiscards = true; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }; }; sdb = { type = "disk"; device = "/dev/sdb"; content = { type = "gpt"; partitions = { Storage = { size = "100%"; content = { type = "luks"; name = "storage-crypted"; settings.allowDiscards = true; content = { type = "filesystem"; format = "ext4"; mountpoint = "/Storage"; }; }; }; }; }; }; }; }; }