add it to homemanager instead

This commit is contained in:
Sakooooo 2023-08-19 07:03:26 +00:00
parent b959cba6fe
commit 1beb00130d
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 4 additions and 2 deletions

View file

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

View file

@ -53,9 +53,12 @@
xdg.configFile.git = { xdg.configFile.git = {
source = ../../config/git; source = ../../config/git;
}; };
programs.gnupg.agent.extraconfig = ''
pinentry-program "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe"
'';
home.file = { home.file = {
# pinentry needs to point to gpg4win's qt pinentry to work # pinentry needs to point to gpg4win's qt pinentry to work
".gnupg/gpg-agent.conf" = { "gpg-agent.conf" = {
enable = true; enable = true;
source = ./config/gpg-agent.conf; source = ./config/gpg-agent.conf;
}; };