LUKS fresh installation "no key available with this passphrase" on a Tuxedo InfinityBook Pro 15 AMD

So I’ve managed to get it working! BUT still wonder why this isn’t default in the public nixos ISOs :eyes:

:memo: Here’s what I did (for documentation purposes) :

  • Installed nixos with LUKS and a QWERTY/AZERTY friendly passphrase
    • :information_source: To make sure I could log in no matter what
  • Configured and applied the above console snippet to make sure my keyboard layout was available at stage 1
    • :warning: Make sure to remove/comment your console.keyMap (or use lib.mkForce) because it’ll enter in conflict with console.useXkbConfig which will use services.xserver.xkb.layout
  • Changed my current - temporary - LUKS passphrase to more complex one, through Gnome Disks (“Change passphrase” on the LUKS partition)
  • Rebooted and tadaa! Complex passphrase accepted using the correct keyboard layout! :tada:

Thanks for your patience and support @JimJ92120 ! I’ll mark this post as the answer (for completeness of the steps for new users), but the answer has been given here :

1 Like