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