2023-07-06 19:32:19 +00:00
|
|
|
{pkgs, ...}: let
|
|
|
|
key = "0xB853ADA5DA7BBF7A";
|
2023-06-28 20:48:01 +00:00
|
|
|
in {
|
2023-07-06 19:32:19 +00:00
|
|
|
home.packages = with pkgs; [pinentry];
|
2023-06-28 20:48:01 +00:00
|
|
|
programs.gpg = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
default-key = key;
|
|
|
|
trusted-key = key;
|
|
|
|
no-comments = true;
|
|
|
|
no-greeting = true;
|
|
|
|
no-emit-version = true;
|
|
|
|
keyid-format = "0xlong";
|
|
|
|
list-options = "show-uid-validity";
|
|
|
|
verify-options = "show-uid-validity";
|
|
|
|
with-fingerprint = true;
|
|
|
|
with-key-origin = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
services.gpg-agent = {
|
|
|
|
enable = true;
|
|
|
|
enableExtraSocket = true;
|
|
|
|
enableSshSupport = true;
|
|
|
|
pinentryFlavor = "gnome3";
|
|
|
|
};
|
|
|
|
}
|