fix gpg pinentry
This commit is contained in:
parent
980c4183df
commit
b959cba6fe
2 changed files with 8 additions and 2 deletions
1
hosts/sakowsl/config/gpg-agent.conf
Normal file
1
hosts/sakowsl/config/gpg-agent.conf
Normal file
|
@ -0,0 +1 @@
|
||||||
|
pinentry-program "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe"
|
|
@ -53,6 +53,13 @@
|
||||||
xdg.configFile.git = {
|
xdg.configFile.git = {
|
||||||
source = ../../config/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
|
# bare minimum
|
||||||
|
@ -69,8 +76,6 @@
|
||||||
# litearlly! ! ! ! ! !
|
# litearlly! ! ! ! ! !
|
||||||
programs.gnupg.agent = {
|
programs.gnupg.agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
pinentryFlavor = "gnome3";
|
|
||||||
# enableSSHSupport = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.noXlibs = lib.mkForce false;
|
environment.noXlibs = lib.mkForce false;
|
||||||
|
|
Loading…
Reference in a new issue