fixed gpg
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,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 = {
|
||||||
@@ -15,4 +19,4 @@
|
|||||||
keyserver = "hkps://keys.openpgp.org";
|
keyserver = "hkps://keys.openpgp.org";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
pavucontrol
|
pavucontrol
|
||||||
ghostty
|
ghostty
|
||||||
git-credential-manager
|
git-credential-manager
|
||||||
|
gnupg
|
||||||
];
|
];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|||||||
Reference in New Issue
Block a user