From 5b76d783ecf9ab9f17131f9b523c6fc5a6f4cb5a Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 28 Feb 2024 00:59:37 -0800 Subject: [PATCH] git config! --- home.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/home.nix b/home.nix index f7a27c9..943e30f 100644 --- a/home.nix +++ b/home.nix @@ -99,6 +99,20 @@ enable = true; userName = "Zynh Ludwig"; userEmail = "zynh0722@gmail.com"; + extraConfig = { + credential = { + helper = [ + "cache --timeout 7200" + "oauth" + ]; + "http://git.zynh.me" = { + oauthClientId = "a4792ccc-144e-407e-86c9-5e7d8d9c3269"; + oauthScopes = "read_repository write_repository"; + oauthAuthURL = "/login/oauth/authorize"; + oauthTokenURL = "/login/oauth/access_token"; + }; + }; + }; }; # wayland.windowManager.hyprland = {