Nitrokey
From NixOS Wiki
This article describes how you can use your Nitrokey (Wikipedia) with NixOS
Installation
You must add the nitrokey udev rules and enable the gpg agent
services.udev.packages = [ pkgs.nitrokey-udev-rules ];
programs = {
ssh.startAgent = false;
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};