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

18 lines
324 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-12-13 13:01:54 +01:00
enableSSHSupport = false;
2023-08-27 13:51:24 +02:00
enableBrowserSocket = true;
2023-08-31 07:35:35 +02:00
enableExtraSocket = true;
2024-05-05 01:30:33 +02:00
pinentryFlavor = "curses";
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
];
}