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
+9 -12
View File
@@ -8,20 +8,17 @@
name = "Maaz Khokhar";
email = "khokharmaaz@gmail.com";
};
signing = {
key = "0xA8D1AEA9C92D6867"; # e.g., "0x1234567890ABCDEF"
signByDefault = true;
};
commit.gpgSign = true;
tag.gpgSign = true;
gpg.program = "${pkgs.gnupg}/bin/gpg";
init.defaultBranch = "main";
pull.rebase = true;
credential.helper = "libsecret";
};
extraConfig = {
commit.gpgSign = true;
tag.gpgSign = true;
gpg.program = "${pkgs.gnupg}/bin/gpg";
init.defaultBranch = "main";
pull.rebase = true;
};
signing = {
key = "0xA8D1AEA9C92D6867";
signByDefault = true;
};
};
+6 -2
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 = {
@@ -15,4 +19,4 @@
keyserver = "hkps://keys.openpgp.org";
};
};
}
}