MyNixOS website logo
option

boot.initrd.luks.devices.<name>.keyFile

The name of the file (can be a raw device or a partition) that should be used as the decryption key for the encrypted device. If not specified, you will be prompted for a passphrase instead.

Declarations
Type
null or string
Default
null
Example
"/dev/sdb1"