swapDevices.*.randomEncryption.cipher
NixOS option
Use specified cipher for randomEncryption. Hint: Run “cryptsetup benchmark” to see which one is fastest on your machine.
type: stringDefault
"aes-xts-plain64"
Example
declared in: nixos/modules/config/swap.nixView source on NixOS/nixpkgs →"serpent-xts-plain64"