nix-infra/common/fragments/yubikey.nix

12 lines
243 B
Nix

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