nix-infra/modules/nixos/yubikey.nix
2024-03-24 19:02:29 +01:00

11 lines
242 B
Nix

{ pkgs, ... }: {
services.udev.packages = with pkgs; [ libu2f-host yubikey-personalization ];
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
enableExtraSocket = true;
};
services.pcscd.enable = true;
}