add it to homemanager instead
This commit is contained in:
parent
b959cba6fe
commit
1beb00130d
2 changed files with 4 additions and 2 deletions
|
@ -1 +0,0 @@
|
||||||
pinentry-program "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe"
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue