nixos/home-manager/modules/gpg.nix

16 lines
289 B
Nix

{ inputs, config, pkgs, ...}:
{
# gpg settings
programs.gpg = {
enable = true;
homedir = "${config.xdg.dataHome}/gnupg";
};
# Make it use kde for flkdsjlkfdlsjflkdsjflsdjklfjdsklf
services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-qt;
};
}