Use git-credential-oauth bc it just works
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
git-credential-manager
|
git-credential-oauth
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
@@ -9,8 +9,10 @@
|
|||||||
settings = {
|
settings = {
|
||||||
user.name = "Leonhard Kost";
|
user.name = "Leonhard Kost";
|
||||||
user.email = "leonhard.kost@gmail.com";
|
user.email = "leonhard.kost@gmail.com";
|
||||||
credential.credentialStore = "cache";
|
credential.helper = [
|
||||||
credential.helper = "manager";
|
"cache --timeout 21600"
|
||||||
|
"oauth" # Eventually with optional -device flag
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user