diff options
| author | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-10 16:00:46 -0800 |
|---|---|---|
| committer | Franck Cuny <59291+fcuny@users.noreply.github.com> | 2025-02-10 16:00:46 -0800 |
| commit | 0116cdcfb52d8c90ca7bb485981bd1e774e5edbe (patch) | |
| tree | 0dbd28b1e912df7debbde929a281a005c3be5bdf | |
| parent | use ligature in wezterm (diff) | |
| download | infra-0116cdcfb52d8c90ca7bb485981bd1e774e5edbe.tar.gz | |
use proper git user based on remote
| -rw-r--r-- | nix/users/fcuny/git.nix | 8 |
1 files changed, 8 insertions, 0 deletions
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 = [ |
