Fix pinentry for linux
This commit is contained in:
parent
524ccea715
commit
ebcc853148
@ -65,6 +65,8 @@ in
|
||||
|
||||
home.packages = with pkgs; [
|
||||
android-tools
|
||||
direnv
|
||||
nix-direnv
|
||||
kdePackages.kdeconnect-kde
|
||||
# TODO: Move from system to nix
|
||||
# awscli2
|
||||
@ -78,6 +80,7 @@ in
|
||||
text = ''
|
||||
default-cache-ttl 34560000
|
||||
max-cache-ttl 34560000
|
||||
allow-loopback-pinentry
|
||||
pinentry-program ${pkgs.pinentry-curses}/bin/pinentry
|
||||
'';
|
||||
};
|
||||
@ -152,6 +155,7 @@ in
|
||||
enable = true;
|
||||
settings = {
|
||||
use-agent = true;
|
||||
pinentry-mode = "loopback";
|
||||
};
|
||||
mutableKeys = false;
|
||||
publicKeys = [ ];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user