feat: use gnome3/gnome-keyring for gpg pinentry

main
mandlm 2022-07-04 09:09:37 +02:00
parent 8a699d2b0e
commit 723841443d
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 1 additions and 7 deletions

View File

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