fixed gpg

This commit is contained in:
2026-06-24 21:59:31 -05:00
parent 03c2d57c67
commit f4572eaaad
5 changed files with 19 additions and 15 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ alias cea="bunx create-expo-app --no-install"
export PATH="$HOME/.local/bin:$PATH"
set -x GPG_TTY $(tty)
set -gx GPG_TTY (tty)
gpg-connect-agent updatestartuptty /bye >/dev/null
# OpenClaw Completion
test -f "/home/river/.openclaw/completions/openclaw.fish"; and source "/home/river/.openclaw/completions/openclaw.fish"
+1
View File
@@ -5,6 +5,7 @@
imports = [
./programs/bash.nix
./programs/git.nix
./programs/gpg.nix
./programs/fish.nix
./programs/vesktop.nix
./programs/java.nix
+5 -8
View File
@@ -8,20 +8,17 @@
name = "Maaz Khokhar";
email = "khokharmaaz@gmail.com";
};
signing = {
key = "0xA8D1AEA9C92D6867"; # e.g., "0x1234567890ABCDEF"
signByDefault = true;
};
credential.helper = "libsecret";
extraConfig = {
commit.gpgSign = true;
tag.gpgSign = true;
gpg.program = "${pkgs.gnupg}/bin/gpg";
init.defaultBranch = "main";
pull.rebase = true;
credential.helper = "libsecret";
};
signing = {
key = "0xA8D1AEA9C92D6867";
signByDefault = true;
};
};
+5 -1
View File
@@ -5,9 +5,13 @@
enable = true;
defaultCacheTtl = 1800;
maxCacheTtl = 1800;
pinentry.package = pkgs.pinentry-curses;
pinentry.package = pkgs.pinentry-qt;
};
services.gpg-agent.extraConfig = ''
pinentry-program ${pkgs.pinentry-qt}/bin/pinentry
'';
programs.gpg = {
enable = true;
settings = {
+1
View File
@@ -35,6 +35,7 @@
pavucontrol
ghostty
git-credential-manager
gnupg
];
nix = {