nixos manual: add grub option to avoid #21830

Close #22659.  vcunat edited this slightly.
This commit is contained in:
Vladimír Čunát 2017-02-11 12:47:15 +01:00
parent 686d3fb63f
commit d4bf624f96
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -37,6 +37,10 @@ boot.initrd.luks.devices.crypted.device = "/dev/disk/by-uuid/3f6b0024-3a44-4fde-
fileSystems."/".device = "/dev/mapper/crypted";
</programlisting>
Should grub be used as bootloader, and <filename>/boot</filename> is located
on an encrypted partition, it is necessary to add the following grub option:
<programlisting>boot.loader.grub.enableCryptodisk = true;</programlisting>
</para>
</section>