fix: programs.gpg-agent do not support darwin, running gnupg agent at system level

This commit is contained in:
Ryan Yin
2024-01-10 13:21:05 +08:00
parent 228a7099d0
commit f166761af7
3 changed files with 25 additions and 16 deletions

View File

@@ -0,0 +1,7 @@
{
# https://github.com/LnL7/nix-darwin/blob/master/modules/programs/gnupg.nix
programs.gnupg.agent = {
enable = true;
enableSSHSupport = false;
};
}

View File

@@ -11,4 +11,11 @@
# security with gnome-kering
services.gnome.gnome-keyring.enable = true;
security.pam.services.greetd.enableGnomeKeyring = true;
# gpg agent with pinentry
programs.gnupg.agent = {
eanble = true;
pinentryFlavor = "curses";
enableSSHSupport = false;
};
}