nix/nixos/common/services/gnupg-agent.nix
2023-08-31 22:54:53 +09:00

17 lines
326 B
Nix

{pkgs, cfg, ... }: {
services.pcscd.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
enableBrowserSocket = true;
enableExtraSocket = true;
pinentryFlavor = "wayprompt";
};
environment.systemPackages = with pkgs; [
pinentry-curses
gpg-tui
gnupg
];
}