0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-13 21:50:33 +03:00

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"; fileSystems."/".device = "/dev/mapper/crypted";
</programlisting> </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> </para>
</section> </section>