24 lines
426 B
Nix
24 lines
426 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
programs.gpg.enable = true;
|
||
|
|
||
|
services.gpg-agent = {
|
||
|
enable = true;
|
||
|
enableZshIntegration = true;
|
||
|
defaultCacheTtl = 1800;
|
||
|
pinentryPackage = pkgs.pinentry-qt;
|
||
|
};
|
||
|
|
||
|
# configFile."gnupg/gpg-agent.conf" = {
|
||
|
# text = ''
|
||
|
# default-cache-ttl 3600
|
||
|
# pinentry-program ${pkgs.pinentry}/bin/pinentry
|
||
|
# '';
|
||
|
# };
|
||
|
|
||
|
home.packages = with pkgs; [
|
||
|
pinentry
|
||
|
];
|
||
|
}
|