use windows pinentry for wsl gpg

This commit is contained in:
Sakooooo 2023-12-24 22:31:41 +04:00
parent f9ae5b0aa5
commit 38d2b683db
Signed by: sako
GPG key ID: FE52FD65B76E4751

View file

@ -64,7 +64,10 @@
}; };
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
pinentryFlavor = "gnome3"; pinentryFlavor = null;
settings = {
pinentry-program = "/mnt/c/Program Files (x86)/Gpg4win/bin/pinentry.exe";
};
}; };
# bare minimum # bare minimum
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [