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" 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 # OpenClaw Completion
test -f "/home/river/.openclaw/completions/openclaw.fish"; and source "/home/river/.openclaw/completions/openclaw.fish" test -f "/home/river/.openclaw/completions/openclaw.fish"; and source "/home/river/.openclaw/completions/openclaw.fish"
+1
View File
@@ -5,6 +5,7 @@
imports = [ imports = [
./programs/bash.nix ./programs/bash.nix
./programs/git.nix ./programs/git.nix
./programs/gpg.nix
./programs/fish.nix ./programs/fish.nix
./programs/vesktop.nix ./programs/vesktop.nix
./programs/java.nix ./programs/java.nix
+9 -12
View File
@@ -8,20 +8,17 @@
name = "Maaz Khokhar"; name = "Maaz Khokhar";
email = "khokharmaaz@gmail.com"; email = "khokharmaaz@gmail.com";
}; };
signing = { commit.gpgSign = true;
key = "0xA8D1AEA9C92D6867"; # e.g., "0x1234567890ABCDEF" tag.gpgSign = true;
signByDefault = true; gpg.program = "${pkgs.gnupg}/bin/gpg";
}; init.defaultBranch = "main";
pull.rebase = true;
credential.helper = "libsecret"; credential.helper = "libsecret";
};
extraConfig = { signing = {
commit.gpgSign = true; key = "0xA8D1AEA9C92D6867";
tag.gpgSign = true; signByDefault = true;
gpg.program = "${pkgs.gnupg}/bin/gpg";
init.defaultBranch = "main";
pull.rebase = true;
};
}; };
}; };
+5 -1
View File
@@ -5,9 +5,13 @@
enable = true; enable = true;
defaultCacheTtl = 1800; defaultCacheTtl = 1800;
maxCacheTtl = 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 = { programs.gpg = {
enable = true; enable = true;
settings = { settings = {
+1
View File
@@ -35,6 +35,7 @@
pavucontrol pavucontrol
ghostty ghostty
git-credential-manager git-credential-manager
gnupg
]; ];
nix = { nix = {