Files
nixos-dotfiles/modules/gpg.nix
2025-04-13 15:09:14 +08:00

20 lines
333 B
Nix

{
config,
lib,
pkgs,
...
}:
lib.my.makeHomeProgramConfig {
inherit config;
programName = "gpg";
optionPath = [ "gpg" ];
extraConfig = {
programs.gnupg.agent = {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
enableSSHSupport = true;
};
my.persist.homeDirs = [ ".gnupg" ];
};
}