So I’ve managed to get it working! BUT still wonder why this isn’t default in the public nixos ISOs
Here’s what I did (for documentation purposes) :
- Installed nixos with LUKS and a QWERTY/AZERTY friendly passphrase
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 1Make sure to remove/comment your
console.keyMap
(or uselib.mkForce
) because it’ll enter in conflict withconsole.useXkbConfig
which will useservices.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!
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 :