Skip to content

Commit

Permalink
Refactor gpg pinentry config
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Jun 28, 2024
1 parent 301c740 commit 2887011
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions home/users/christian/gpg/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@ in
};

config = mkIf cfg.enable {

home.file.".gnupg/gpg-agent.conf" = {
text = ''
pinentry-program ${getExe pinentryPkg}
'';
};

programs.gpg.enable = true;

services.gpg-agent.pinentryPackage = pinentryPkg;
};
}

0 comments on commit 2887011

Please sign in to comment.