boot.zfs.requestEncryptionCredentials
If true on import encryption keys or passwords for all encrypted datasets are requested. To only decrypt selected datasets supply a list of dataset names instead. For root pools the encryption key can be supplied via both an interactive prompt (keylocation=prompt) and from a file (keylocation=file://).
- Type
boolean or list of string- Default
true- Example
[ "tank" "data" ]- Declared
- <nixpkgs/nixos/modules/tasks/filesystems/zfs.nix>