mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
mixed: gpg fixes, refactoring
This commit is contained in:
parent
53eed4454d
commit
1ec876812e
50 changed files with 235 additions and 183 deletions
|
|
@ -1,7 +1,13 @@
|
|||
{config, ...}: {
|
||||
services.gpg-agent.pinentryFlavor = null;
|
||||
{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 = ''
|
||||
pinentry-program /opt/homebrew/bin/pinentry-mac
|
||||
'';
|
||||
home.file."${config.programs.gpg.homedir}/gpg-agent.conf".text = mkMerge [
|
||||
config.services.gpg-agent.extraConfig
|
||||
"pinentry-program /opt/homebrew/bin/pinentry-mac"
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue