mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-19 21:16:51 +02:00
feat(nixos): add cursor-cli/claude-code/gemini-cli/opencode
This commit is contained in:
@@ -12,6 +12,30 @@
|
||||
extraConfig = ''
|
||||
source /etc/agenix/alias-for-work.nushell
|
||||
|
||||
$env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = "1"
|
||||
# using claude-code with kimi llm
|
||||
# https://platform.moonshot.cn/docs/guide/agent-support
|
||||
# $env.ANTHROPIC_BASE_URL = "https://api.moonshot.cn/anthropic/"
|
||||
# $env.ANTHROPIC_AUTH_TOKEN = $env.MOONSHOT_API_KEY
|
||||
# $env.ANTHROPIC_MODEL = "kimi-k2-thinking"
|
||||
# $env.ANTHROPIC_DEFAULT_HAIKU_MODEL = "kimi-k2-thinking-turbo"
|
||||
|
||||
# using claude-code with glm llm
|
||||
# https://docs.bigmodel.cn/cn/coding-plan/tool/claude
|
||||
# $env.ANTHROPIC_BASE_URL = "https://open.bigmodel.cn/api/anthropic"
|
||||
# $env.ANTHROPIC_AUTH_TOKEN = $env.ZAI_API_KEY
|
||||
# $env.ANTHROPIC_MODEL = "glm-4.7"
|
||||
# $env.ANTHROPIC_DEFAULT_HAIKU_MODEL = "glm-4.5-air"
|
||||
|
||||
# using claude-code with minimax llm
|
||||
# https://platform.minimax.io/docs/token-plan/claude-code
|
||||
# $env.ANTHROPIC_BASE_URL = "https://api.minimax.io/anthropic"
|
||||
# $env.ANTHROPIC_AUTH_TOKEN = $env.MINIMAX_API_KEY
|
||||
# $env.ANTHROPIC_MODEL = "MiniMax-M2.7"
|
||||
# $env.ANTHROPIC_SMALL_FAST_MODEL = "MiniMax-M2.7"
|
||||
# $env.ANTHROPIC_DEFAULT_HAIKU_MODEL = "MiniMax-M2.7"
|
||||
|
||||
|
||||
# Directories in this constant are searched by the
|
||||
# `use` and `source` commands.
|
||||
const NU_LIB_DIRS = $NU_LIB_DIRS ++ ['${nu_scripts}']
|
||||
|
||||
Reference in New Issue
Block a user