MyNixOS website logo
option

boot.loader.grub.users.<name>.passwordFile

Specifies the path to a file containing the clear text password for the account. This password will be stored in /boot/grub/grub.cfg, and will be visible to any local user who can read this file.

Declarations
Type
null or string
Default
null
Example
"/path/to/file"