mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 20:39:18 -08:00
17 lines
344 B
Nix
17 lines
344 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib.modules) mkForce mkMerge;
|
|
in {
|
|
services.gpg-agent = {
|
|
enable = mkForce false;
|
|
pinentryFlavor = null;
|
|
};
|
|
|
|
home.file."${config.programs.gpg.homedir}/gpg-agent.conf".text = mkMerge [
|
|
config.services.gpg-agent.extraConfig
|
|
"pinentry-program /opt/homebrew/bin/pinentry-mac"
|
|
];
|
|
}
|