nix-dotfiles/modules/hm/gpg.nix

16 lines
354 B
Nix

{ pkgs, ... }: {
programs.gpg = {
enable = true;
settings = { };
};
services.gpg-agent = {
enable = true;
defaultCacheTtl = 600;
enableBashIntegration = true;
enableZshIntegration = true;
enableNushellIntegration = true;
pinentryPackage = pkgs.pinentry-gnome3;
# extraConfig = "allow-loopback-pinentry";
};
}