.hive/modules/hardware/yubikey.nix
2024-04-17 16:47:06 +02:00

20 lines
331 B
Nix

{
config,
pkgs,
...
}: {
# Include udev rules for yubikey.
services.udev.packages = with pkgs; [
yubikey-personalization
];
# OTP Manager
environment.systemPackages = with pkgs; [
yubioath-flutter
];
services.pcscd.enable = true;
# Enable smartcard support
hardware.gpgSmartcards.enable = true;
}