Crypto : Use tty pinentry.

This commit is contained in:
Dmitry Voronin 2024-04-17 01:35:59 +03:00
parent 48b3e8ec43
commit 9ed7e01bec
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
3 changed files with 7 additions and 1 deletions

View file

@ -5,6 +5,7 @@
programs.gnupg.agent = { programs.gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-tty;
}; };
# PCSC. # PCSC.

View file

@ -44,6 +44,11 @@
git diff "''${@}" git diff "''${@}"
} }
# Git diff added.
function gda() {
git diff --cached "''${@}"
}
# Git commit. # Git commit.
function gc() { function gc() {
git commit -m "''${@}" git commit -m "''${@}"

View file

@ -14,5 +14,5 @@
services.gnome.sushi.enable = true; services.gnome.sushi.enable = true;
# Nautilus network. # Nautilus network.
services.gnome3.gvfs.enable = true; services.gvfs.enable = true;
} }