mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
git roxy
This commit is contained in:
parent
557e220abb
commit
b6ac2b742b
3 changed files with 12 additions and 1 deletions
|
|
@ -1,9 +1,12 @@
|
|||
# For Juspay work
|
||||
{
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
matchBlocks = {
|
||||
# To clone Juspay repos.
|
||||
# https://developer.1password.com/docs/ssh/agent/advanced/#match-key-with-host
|
||||
#
|
||||
# Download these from 1Password
|
||||
"bitbucket.org" = {
|
||||
identitiesOnly = true;
|
||||
identityFile = "~/.ssh/juspay.pub";
|
||||
|
|
@ -11,6 +14,14 @@
|
|||
"ssh.bitbucket.juspay.net" = {
|
||||
identityFile = "~/.ssh/juspay.pub";
|
||||
};
|
||||
|
||||
# For git cloning via another jump host
|
||||
"ssh.bitbucket.juspay.net" = {
|
||||
user = "git";
|
||||
# This is the magic line that routes traffic
|
||||
# through the other machine
|
||||
proxyJump = "vanjaram";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@
|
|||
./all/direnv.nix
|
||||
# ./all/zellij.nix
|
||||
./all/just.nix
|
||||
# ./all/juspay.nix
|
||||
./all/ttyd.nix
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue