Open solomon-b opened 2 months ago
I tried setting initrd.luks.devices.CRYPT.device as described here but this conflicts with Disko's generated config.
You can remove parts of disko's config temporarily. The other solution would be to use lib.mkForce
to ensure your configuration takes precendence over what disko defined.
I have an existing Nixos installation with LUKS full disk encryption and the disk partitions managed by Disko. The LUKS crypt was secured with fido2 (and a backup password) and
initrd
was set to use fido2 via:I need to switch the system to boot via the backup password but am having trouble updating
initrd
. I'm using a nixos boot disk, manually unlocking the crypt, mounting everything in/mnt
, and runningnixos-install
.When I boot the machine it goes right to attempting to mount the partitions inside the encrypted LUKS device without decrypting the LUKS device.
I tried setting
initrd.luks.devices.CRYPT.device
as described here but this conflicts with Disko's generated config.I noticed that the settings option should allow me to specify the device via the disko config. So I tried setting:
Unfortunately, this didn't help when I rebooted.
I'm not sure if it matters but I'm still using the deprecated
table
type for my disko config. I'm hesitant to change that before getting the system to boot.