swapDevices.*.randomEncryption.source
NixOS option
Define the source of randomness to obtain a random key for encryption.
type: stringDefault
"/dev/urandom"
Example
declared in: nixos/modules/config/swap.nixView source on NixOS/nixpkgs →"/dev/random"