system/nixos/shared/gnupg.nix

12 lines
202 B
Nix
Raw Normal View History

2022-10-12 02:56:07 +03:00
{ config, ... }:
{
programs.gnupg.agent = {
enable = true;
enableSSHSupport = config.services.openssh.enable;
pinentryFlavor = "gtk2";
2022-10-12 02:56:07 +03:00
};
services.passSecretService.enable = true;
2022-10-12 02:56:07 +03:00
}