fix pinentry for gpg
This commit is contained in:
parent
c7fc6b1eea
commit
a0af10c1e2
1 changed files with 7 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
|||
./services/nix-cache-upload.nix
|
||||
];
|
||||
services.openssh.enable = true;
|
||||
environment.systemPackages = [ pkgs.git ];
|
||||
environment.systemPackages = with pkgs; [ git pinentry-curses ];
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
networking.firewall.allowedUDPPortRanges = [
|
||||
{
|
||||
|
@ -43,12 +43,16 @@
|
|||
|
||||
console.keyMap = "neo";
|
||||
|
||||
programs.gnupg.agent.enable = true;
|
||||
|
||||
security.sudo.extraConfig = ''
|
||||
Defaults env_keep += "TMUX"
|
||||
'';
|
||||
|
||||
security.tpm2.enable = true;
|
||||
security.tpm2.abrmd.enable = true;
|
||||
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
pinentryFlavor = "curses";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue