fix gpg pinentry

This commit is contained in:
Sakooooo 2023-08-19 06:59:23 +00:00
parent 980c4183df
commit b959cba6fe
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1 @@
pinentry-program "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe"

View file

@ -53,6 +53,13 @@
xdg.configFile.git = {
source = ../../config/git;
};
home.file = {
# pinentry needs to point to gpg4win's qt pinentry to work
".gnupg/gpg-agent.conf" = {
enable = true;
source = ./config/gpg-agent.conf;
};
};
};
# bare minimum
@ -69,8 +76,6 @@
# litearlly! ! ! ! ! !
programs.gnupg.agent = {
enable = true;
pinentryFlavor = "gnome3";
# enableSSHSupport = true;
};
environment.noXlibs = lib.mkForce false;