feat(git_nixos): support oauth credential verification

This commit is contained in:
Michael Thomas 2024-01-16 23:13:09 -05:00
parent 9c6793a973
commit 80596625b2

View File

@ -1,9 +1,12 @@
{pkgs, ...}: {
# Use pkgs.gitAndTools.gitFull in order to get libsecret support
programs.git = {
package = pkgs.gitAndTools.gitFull;
extraConfig = {
credential.helper = "libsecret";
credential.helper = "oauth";
};
};
home.packages = with pkgs; [
git-credential-oauth
];
}