nix/nixos/common/services/gnupg-agent.nix
2023-08-31 14:35:35 +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
];
}