"content-${i}" = { type = "disk"; device = "${CONTENT_DISK_ID}"; content = { type = "gpt"; partitions = { luks = { size = "100%"; content = { type = "luks"; name = "crypted-content-${i}"; settings.keyFile = "/etc/secrets/disks/content-disk-${i}"; content = { type = "filesystem"; format = "xfs"; mountpoint = "/mnt/content-${i}"; }; }; }; }; }; };