mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-24 17:58:30 +02:00
chore: remove claude-code, zed-editor & antigravity
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
# make `npm install -g <pkg>` happey
|
# make `npm install -g <pkg>` happey
|
||||||
#
|
#
|
||||||
# mainly used to install npm packages that updates frequently
|
# mainly used to install npm packages that updates frequently
|
||||||
# such as gemini-cli, claude-code, etc.
|
# such as opencode, codex, etc.
|
||||||
home.file.".npmrc".text = ''
|
home.file.".npmrc".text = ''
|
||||||
prefix=${config.home.homeDirectory}/.npm
|
prefix=${config.home.homeDirectory}/.npm
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -12,28 +12,6 @@
|
|||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
source /etc/agenix/alias-for-work.nushell
|
source /etc/agenix/alias-for-work.nushell
|
||||||
|
|
||||||
$env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC = "1"
|
|
||||||
# using claude-code with kimi k2
|
|
||||||
# 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 qwen llm
|
|
||||||
# https://bailian.console.aliyun.com/?tab=doc#/doc/?type=model&url=2949529
|
|
||||||
# $env.ANTHROPIC_BASE_URL = "https://dashscope.aliyuncs.com/apps/anthropic"
|
|
||||||
# $env.ANTHROPIC_AUTH_TOKEN = $env.DASHSCOPE_API_KEY
|
|
||||||
# $env.ANTHROPIC_MODEL = "qwen-plus" # 千万别用 qwen-max, 超级无敌贵
|
|
||||||
# $env.ANTHROPIC_DEFAULT_HAIKU_MODEL = "qwen-turbo"
|
|
||||||
|
|
||||||
# Directories in this constant are searched by the
|
# Directories in this constant are searched by the
|
||||||
# `use` and `source` commands.
|
# `use` and `source` commands.
|
||||||
const NU_LIB_DIRS = $NU_LIB_DIRS ++ ['${nu_scripts}']
|
const NU_LIB_DIRS = $NU_LIB_DIRS ++ ['${nu_scripts}']
|
||||||
|
|||||||
@@ -16,8 +16,6 @@ in
|
|||||||
{
|
{
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs-master.code-cursor
|
pkgs-master.code-cursor
|
||||||
# pkgs-master.zed-editor
|
|
||||||
# pkgs-master.antigravity-fhs
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
|
|||||||
Reference in New Issue
Block a user