swapDevices.*.randomEncryption.sectorSize

NixOS option

Set the sector size for the plain encrypted device type. If not specified, the default sector size is determined from the underlying block device. See cryptsetup-open(8) for details.

type: null or signed integer
Default
null
Example
"4096"
declared in: nixos/modules/config/swap.nixView source on NixOS/nixpkgs →