feat(git_nixos): support oauth credential verification
This commit is contained in:
parent
9c6793a973
commit
80596625b2
@ -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
|
||||
];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user