swapDevices.*.randomEncryption.source
Define the source of randomness to obtain a random key for encryption.
- Type
string- Default
"/dev/urandom"- Example
"/dev/random"- Declared
- <nixpkgs/nixos/modules/config/swap.nix>
Define the source of randomness to obtain a random key for encryption.
string"/dev/urandom""/dev/random"