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