nixos-config/modules/home/all/juspay.nix
Sridhar Ratnakumar f7c0408376 cleanup
2024-11-27 14:57:18 -05:00

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";
};
}];
};
}