mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-07 00:17:24 +08:00
26 lines
601 B
Nix
26 lines
601 B
Nix
# For Juspay work
|
|
{
|
|
programs.ssh = {
|
|
matchBlocks = {
|
|
# To clone Juspay repos.
|
|
# https://developer.1password.com/docs/ssh/agent/advanced/#match-key-with-host
|
|
"bitbucket.org" = {
|
|
identitiesOnly = true;
|
|
identityFile = "~/.ssh/juspay.pub";
|
|
};
|
|
"ssh.bitbucket.juspay.net" = {
|
|
identityFile = "~/.ssh/juspay.pub";
|
|
};
|
|
};
|
|
};
|
|
|
|
programs.git = {
|
|
# Bitbucket git access and policies
|
|
includes = [{
|
|
condition = "gitdir:~/juspay/**";
|
|
contents = {
|
|
user.email = "sridhar.ratnakumar@juspay.in";
|
|
};
|
|
}];
|
|
};
|
|
}
|