Reorganize home modules into logical categories (#100)

This commit is contained in:
Sridhar Ratnakumar 2025-11-21 14:17:20 -05:00 committed by GitHub
parent 995d47db17
commit d64bacdb90
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 44 additions and 43 deletions

View file

@ -0,0 +1,50 @@
# Juspay-specific configuration using the work jump host module
{ flake, ... }:
let
inherit (flake.inputs) jumphost-nix;
in
{
imports = [ "${jumphost-nix}/module.nix" ];
# https://github.com/srid/jumphost-nix
programs.jumphost = {
enable = true;
host = "vanjaram.tail12b27.ts.net";
sshHosts = {
"ssh.bitbucket.juspay.net".user = "git";
};
git = {
baseCodeDir = "~/juspay";
email = "sridhar.ratnakumar@juspay.in";
};
socks5Proxy = {
enable = true;
};
};
# Mirroring configuration from https://github.com/juspay/vertex
home.sessionVariables = {
# Enable Vertex AI integration
CLAUDE_CODE_USE_VERTEX = "1";
CLOUD_ML_REGION = "us-east5";
ANTHROPIC_VERTEX_PROJECT_ID = "dev-ai-gamma";
# Optional: Disable prompt caching if needed
DISABLE_PROMPT_CACHING = "1";
# Optional: Override regions for specific models
VERTEX_REGION_CLAUDE_3_5_HAIKU = "us-central1";
VERTEX_REGION_CLAUDE_3_5_SONNET = "us-east5";
VERTEX_REGION_CLAUDE_3_7_SONNET = "us-east5";
VERTEX_REGION_CLAUDE_4_0_OPUS = "europe-west4";
VERTEX_REGION_CLAUDE_4_0_SONNET = "us-east5";
VERTEX_REGION_CLAUDE_4_5_SONNET = "us-east5";
# Model configuration
ANTHROPIC_MODEL = "claude-sonnet-4-5";
ANTHROPIC_SMALL_FAST_MODEL = "claude-3-5-haiku";
};
}