aboutsummaryrefslogtreecommitdiff
path: root/nix/users/fcuny/git.nix
diff options
context:
space:
mode:
authorFranck Cuny <59291+fcuny@users.noreply.github.com>2025-02-10 16:00:46 -0800
committerFranck Cuny <59291+fcuny@users.noreply.github.com>2025-02-10 16:00:46 -0800
commit0116cdcfb52d8c90ca7bb485981bd1e774e5edbe (patch)
tree0dbd28b1e912df7debbde929a281a005c3be5bdf /nix/users/fcuny/git.nix
parentuse ligature in wezterm (diff)
downloadinfra-0116cdcfb52d8c90ca7bb485981bd1e774e5edbe.tar.gz
use proper git user based on remote
Diffstat (limited to '')
-rw-r--r--nix/users/fcuny/git.nix8
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 = [