From 44e472a60537a67486085d1b68a26e69d0f29f20 Mon Sep 17 00:00:00 2001 From: Christian Svensson Date: Thu, 3 Sep 2020 23:07:50 +0200 Subject: [PATCH] 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. --- nixos/doc/manual/configuration/luks-file-systems.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nixos/doc/manual/configuration/luks-file-systems.xml b/nixos/doc/manual/configuration/luks-file-systems.xml index 8a8168c095f0..5a356595c116 100644 --- a/nixos/doc/manual/configuration/luks-file-systems.xml +++ b/nixos/doc/manual/configuration/luks-file-systems.xml @@ -26,7 +26,11 @@ Enter passphrase for /dev/disk/by-uuid/3f6b0024-3a44-4fde-a43a-767b872abe5d: *** # mkfs.ext4 /dev/mapper/crypted - To ensure that this file system is automatically mounted at boot time as + The LUKS volume should be automatically picked up by + nixos-generate-config, but you might want to verify that your + hardware-configuration.nix looks correct. + + To manually ensure that the system is automatically mounted at boot time as /, add the following to configuration.nix: