swapDevices.*.randomEncryption.keySize

Set the encryption key size for the plain device.

If not specified, the amount of data to read from source will be determined by cryptsetup.

See cryptsetup-open(8) for details.

Type
null or signed integer
Default
null
Example
"512"
Declared
<nixpkgs/nixos/modules/config/swap.nix>