feat: use gnome3/gnome-keyring for gpg pinentry

This commit is contained in:
Michael Mandl 2022-07-04 09:09:37 +02:00
parent 8a699d2b0e
commit 723841443d
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -4,10 +4,7 @@
services.gpg-agent = {
enable = true;
enableZshIntegration = true;
pinentryFlavor = "gtk2";
extraConfig = ''
allow-loopback-pinentry
'';
pinentryFlavor = "gnome3";
};
programs.gpg = {
@ -18,8 +15,5 @@
source = ./pubring.asc;
trust = "ultimate";
}];
settings = {
pinentry-mode = "loopback";
};
};
}