Skip to content

Commit

Permalink
πŸ› (gpg): Fixed an issue with the gpg agent
Browse files Browse the repository at this point in the history
It was not able to find a pinentry
  • Loading branch information
theobori committed Nov 1, 2024
1 parent 51d9e01 commit 1a062a3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/home/cli/programs/gpg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,12 @@ in
config = mkIf cfg.enable {
home.packages = with pkgs; [ kleopatra ];

programs = {
gpg = enabled;
};
programs.gpg = enabled;

services.gpg-agent = enabled;
services.gpg-agent = {
enable = true;
pinentryPackage = pkgs.pinentry-curses;
};

sops.secrets = mkIf (config."${namespace}".services.sops.enable && cfg.useSops) {
pgp_key = {
Expand Down

0 comments on commit 1a062a3

Please sign in to comment.