feat(git_nixos): support oauth credential verification
This commit is contained in:
parent
9c6793a973
commit
80596625b2
@ -1,9 +1,12 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
# Use pkgs.gitAndTools.gitFull in order to get libsecret support
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
package = pkgs.gitAndTools.gitFull;
|
package = pkgs.gitAndTools.gitFull;
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
credential.helper = "libsecret";
|
credential.helper = "oauth";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
git-credential-oauth
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user