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