mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-25 02:41:26 +01:00
fix: programs.gpg-agent do not support darwin, running gnupg agent at system level
This commit is contained in:
7
modules/darwin/security.nix
Normal file
7
modules/darwin/security.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
# https://github.com/LnL7/nix-darwin/blob/master/modules/programs/gnupg.nix
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = false;
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user