nix/nixos/common/services/gnupg-agent.nix
2024-05-06 10:24:52 +09:00

16 lines
293 B
Nix

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