nix-infra/modules/common/yubikey.nix

11 lines
238 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;
}