Use git-credential-oauth bc it just works

This commit is contained in:
2025-12-15 18:00:04 +01:00
parent 8c048ac3c2
commit 746eee1a18
+5 -3
View File
@@ -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
];
}; };
}; };
} }