YubiKey 5 series lineup.

FIDO2 based Full Disk Encryption on NixOS

This article describes how to use YubiKeys for FIDO2-based Full Disk Encryption (FDE) on NixOS. The keys can be used as single-factor authentication devices or in combination with a pin. Throughout this guide, names surrounded by < > characters are used as placeholders, replace them with the appropriate values. Preparations Installer Get a minimal ISO image and boot it. Switch to the root user. sudo -i Optionally, change the keyboard layout. ...

2026-04-28 · 4 min