This repository has been archived on 2025-11-26. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
nixos-config/modules/home/gpg.nix

14 lines
312 B
Nix

{pkgs, ...}: {
programs.gpg = {
enable = true;
settings = {
keyserver = "hkps://keys.openpgp.org";
};
};
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentry.package = pkgs.pinentry-gnome3;
sshKeys = ["D2A3680589B81F2B07DA6CFE21DF848F1AF4E9D3"];
};
}