nix/nixos/common/services/gnupg-agent.nix

18 lines
320 B
Nix
Raw Normal View History

2023-08-27 13:51:24 +02:00
{pkgs, cfg, ... }: {
2023-08-31 15:47:49 +02:00
services.pcscd.enable = true;
2023-08-27 13:51:24 +02:00
programs.gnupg.agent = {
2023-08-31 06:54:23 +02:00
enable = true;
2023-08-27 13:51:24 +02:00
enableSSHSupport = true;
enableBrowserSocket = true;
2023-08-31 07:35:35 +02:00
enableExtraSocket = true;
2023-08-31 15:57:19 +02:00
pinentryFlavor = "tty";
2023-08-27 13:51:24 +02:00
};
environment.systemPackages = with pkgs; [
2023-08-31 15:31:13 +02:00
pinentry-curses
gpg-tui
gnupg
];
}