nixos/manual: luks entries are auto-detected
Mention that the the LUKS entries do not need to be added when using nixos-generate-config. Keep the instructions for people that want to do it manually.
This commit is contained in:
parent
cc0ad3f56e
commit
44e472a605
@ -26,7 +26,11 @@ Enter passphrase for /dev/disk/by-uuid/3f6b0024-3a44-4fde-a43a-767b872abe5d: ***
|
|||||||
|
|
||||||
# mkfs.ext4 /dev/mapper/crypted
|
# mkfs.ext4 /dev/mapper/crypted
|
||||||
</screen>
|
</screen>
|
||||||
To ensure that this file system is automatically mounted at boot time as
|
The LUKS volume should be automatically picked up by
|
||||||
|
<command>nixos-generate-config</command>, but you might want to verify that your
|
||||||
|
<filename>hardware-configuration.nix</filename> looks correct.
|
||||||
|
|
||||||
|
To manually ensure that the system is automatically mounted at boot time as
|
||||||
<filename>/</filename>, add the following to
|
<filename>/</filename>, add the following to
|
||||||
<filename>configuration.nix</filename>:
|
<filename>configuration.nix</filename>:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
|
Loading…
Reference in New Issue
Block a user