the authentication update

This commit is contained in:
Reid 2024-05-24 17:46:11 -07:00
parent c22b92f412
commit 98b32cb9e6
Signed by: reidlab
GPG key ID: DAF5EAF6665839FD
3 changed files with 12 additions and 2 deletions

View file

@ -16,6 +16,11 @@ in {
userName = ''Reid "reidlab"'';
userEmail = "reidlab325@gmail.com";
signing = {
signByDefault = true;
key = "DAF5EAF6665839FD";
};
ignores = [
# General
"*.direnv"
@ -37,8 +42,13 @@ in {
};
extraConfig = {
# password caching w libsecret, use gnome-keyring or kwallet
credential.helper = "${pkgs.gitFull}/bin/git-credential-libsecret";
push.autoSetupRemote = true;
push.gpgSign = "if-asked";
pull.rebase = true;
init.defaultBranch = "main";
};
};

View file

@ -12,6 +12,8 @@ in {
hm.programs.gpg.enable = true;
hm.services.gpg-agent = {
enable = true;
enableExtraSocket = true;
enableSshSupport = true;
pinentryPackage = pkgs.pinentry-gnome3;
};