2023-12-14 08:21:39 +01:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
|
|
|
|
programs.gpg = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
auto-key-locate = "local";
|
|
|
|
keyid-format = "long";
|
|
|
|
utf8-strings = "";
|
|
|
|
verbose = "";
|
|
|
|
with-fingerprint = "";
|
|
|
|
keyserver = "keyserver.ubuntu.com";
|
|
|
|
personal-digest-preferences = "SHA512";
|
|
|
|
cert-digest-algo = "SHA512";
|
|
|
|
default-preference-list =
|
|
|
|
"SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
enableBashIntegration = true;
|
|
|
|
enableExtraSocket = true;
|
|
|
|
enableSshSupport = true;
|
|
|
|
enableZshIntegration = true;
|
|
|
|
# sshKeys = [];
|
2024-01-12 17:30:57 +01:00
|
|
|
defaultCacheTtl = 30;
|
|
|
|
defaultCacheTtlSsh = 30;
|
2024-05-27 18:50:31 +02:00
|
|
|
pinentryPackage = pkgs.pinentry-gtk2;
|
2023-12-14 08:21:39 +01:00
|
|
|
};
|
|
|
|
}
|