diff --git a/configurations/home/srid@vixen.nix b/configurations/home/srid@vixen.nix index 8011466..0d6fa78 100644 --- a/configurations/home/srid@vixen.nix +++ b/configurations/home/srid@vixen.nix @@ -12,6 +12,7 @@ in "${homeMod}/claude-code" "${homeMod}/all/git.nix" "${homeMod}/all/just.nix" + "${homeMod}/all/juspay.nix" "${homeMod}/all/direnv.nix" "${homeMod}/all/starship.nix" "${homeMod}/all/bash.nix" diff --git a/modules/home/all/juspay.nix b/modules/home/all/juspay.nix index 17f9f36..9336e5b 100644 --- a/modules/home/all/juspay.nix +++ b/modules/home/all/juspay.nix @@ -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"; + }; }; }; diff --git a/modules/home/default.nix b/modules/home/default.nix index 3004b28..0c51b79 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -11,7 +11,6 @@ ./all/direnv.nix # ./all/zellij.nix ./all/just.nix - # ./all/juspay.nix ./all/ttyd.nix ]; }