From 0116cdcfb52d8c90ca7bb485981bd1e774e5edbe Mon Sep 17 00:00:00 2001 From: Franck Cuny <59291+fcuny@users.noreply.github.com> Date: Mon, 10 Feb 2025 16:00:46 -0800 Subject: use proper git user based on remote --- nix/users/fcuny/git.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'nix/users/fcuny/git.nix') diff --git a/nix/users/fcuny/git.nix b/nix/users/fcuny/git.nix index 48e3b43..d30ce26 100644 --- a/nix/users/fcuny/git.nix +++ b/nix/users/fcuny/git.nix @@ -55,6 +55,14 @@ condition = "hasconfig:remote.*.url:git@github.com:Roblox/**"; path = pkgs.writeText "username.cfg" (lib.generators.toGitINI { user.email = "fcuny@roblox.com"; }); } + { + condition = "hasconfig:remote.*.url:https://github.com/Roblox/**"; + path = pkgs.writeText "username.cfg" (lib.generators.toGitINI { user.email = "fcuny@roblox.com"; }); + } + { + condition = "hasconfig:remote.*.url:https://github.rbx.com/*/**"; + path = pkgs.writeText "username.cfg" (lib.generators.toGitINI { user.email = "fcuny@roblox.com"; }); + } ]; ignores = [ -- cgit v1.2.3