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

14 lines
265 B
Nix

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