mirror of
https://github.com/srid/nixos-config.git
synced 2026-07-16 22:01:33 +08:00
vixen: vertex
This commit is contained in:
parent
54660ba4bd
commit
6d19d1a861
3 changed files with 10 additions and 8 deletions
|
|
@ -4,17 +4,10 @@
|
|||
flake.inputs.self.homeModules.default
|
||||
flake.inputs.self.homeModules.darwin-only
|
||||
(flake.inputs.self + /modules/home/all/1password.nix)
|
||||
(flake.inputs.self + /modules/home/all/juspay-vertex.nix)
|
||||
];
|
||||
|
||||
home.username = "srid";
|
||||
|
||||
# For Zed's Claude Code to work with Anthropic Vertex
|
||||
home.sessionVariables = {
|
||||
CLAUDE_CODE_USE_VERTEX = "1";
|
||||
ANTHROPIC_VERTEX_PROJECT_ID = "dev-ai-gamma";
|
||||
ANTHROPIC_MODEL = "claude-sonnet-4-5";
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
] ++ lib.optionals pkgs.stdenv.isDarwin [
|
||||
pkgs.tart
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ in
|
|||
"${homeMod}/all/starship.nix"
|
||||
"${homeMod}/all/bash.nix"
|
||||
"${homeMod}/all/terminal.nix"
|
||||
"${homeMod}/all/juspay-vertex.nix"
|
||||
# "${homeMod}/all/1password.nix"
|
||||
];
|
||||
|
||||
|
|
|
|||
8
modules/home/all/juspay-vertex.nix
Normal file
8
modules/home/all/juspay-vertex.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
# For Zed's Claude Code to work with Anthropic Vertex
|
||||
home.sessionVariables = {
|
||||
CLAUDE_CODE_USE_VERTEX = "1";
|
||||
ANTHROPIC_VERTEX_PROJECT_ID = "dev-ai-gamma";
|
||||
ANTHROPIC_MODEL = "claude-sonnet-4-5";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue