System/home-manager/linux/programs/gpg.nix

19 lines
350 B
Nix
Raw Normal View History

2022-10-02 21:53:40 -04:00
{ config, lib, pkgs, ... }:
{
config = lib.mkIf config.nathan.programs.util.gpg {
programs.gpg = {
enable = true;
};
services.gpg-agent = {
enable = true;
enableSshSupport = true;
enableExtraSocket = true;
2022-10-02 22:03:31 -04:00
pinentryFlavor = "qt";
2022-10-02 21:53:40 -04:00
extraConfig = ''
allow-emacs-pinentry
'';
};
};
}