"parity-${j}" = { type = "disk"; device = "${PARITY_DISK_ID}"; content = { type = "gpt"; partitions = { luks = { size = "100%"; content = { type = "luks"; name = "crypted-parity-${j}"; initrdUnlock = false; settings = { keyFile = "/etc/secrets/disks/parity-${j}"; allowDiscards = ${ALLOW_DISCARDS:-false}; crypttabExtraOpts = [ "nofail" "noauto" ]; }; content = { type = "filesystem"; format = "xfs"; mountpoint = "/mnt/parity-${j}"; mountOptions = [ "nofail" "noauto" ]; }; }; }; }; }; };