nix/nixos/common/services/gnupg-agent.nix
2024-05-05 08:30:33 +09:00

17 lines
324 B
Nix

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