1
0
Fork 0
This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dotnix-archive/apps/nogui/gpg.nix

27 lines
611 B
Nix

{pkgs, ...}: let
key = "0xB853ADA5DA7BBF7A";
in {
home.packages = with pkgs; [pinentry];
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";
};
}