mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-09-18 15:51:21 +02:00
feat(agents): add Crush and disable usage tracking
This commit is contained in:
@@ -1,4 +1,17 @@
|
||||
{ pkgs, llm-agents, ... }:
|
||||
let
|
||||
agentPackages = llm-agents.packages.${pkgs.stdenv.hostPlatform.system};
|
||||
codexNoAnalytics = pkgs.writeShellApplication {
|
||||
name = "codex";
|
||||
text = ''
|
||||
exec ${agentPackages.codex}/bin/codex \
|
||||
--config analytics.enabled=false \
|
||||
--config feedback.enabled=false \
|
||||
--config check_for_update_on_startup=false \
|
||||
"$@"
|
||||
'';
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages =
|
||||
with pkgs;
|
||||
@@ -8,16 +21,17 @@
|
||||
qrtool # decode/encode qr code
|
||||
]
|
||||
# AI Agent Tools
|
||||
++ (with llm-agents.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||
++ [
|
||||
# Agents
|
||||
codex
|
||||
cursor-cli
|
||||
opencode
|
||||
kimi-code
|
||||
pi
|
||||
omp
|
||||
codexNoAnalytics
|
||||
agentPackages.cursor-agent
|
||||
agentPackages.opencode
|
||||
agentPackages.kimi-code
|
||||
agentPackages.pi
|
||||
agentPackages.omp
|
||||
agentPackages.crush
|
||||
|
||||
# Utilities
|
||||
rtk # CLI proxy that reduces LLM token consumption
|
||||
]);
|
||||
agentPackages.rtk # CLI proxy that reduces LLM token consumption
|
||||
];
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
home.sessionVariables = {
|
||||
DO_NOT_TRACK = "1";
|
||||
|
||||
KIMI_DISABLE_TELEMETRY = "1";
|
||||
|
||||
PI_TELEMETRY = "0";
|
||||
PI_SKIP_VERSION_CHECK = "1";
|
||||
|
||||
CRUSH_DISABLE_METRICS = "1";
|
||||
CRUSH_DISABLE_PROVIDER_AUTO_UPDATE = "1";
|
||||
|
||||
OPENCODE_CONFIG_CONTENT = builtins.toJSON {
|
||||
share = "disabled";
|
||||
};
|
||||
OPENCODE_DISABLE_AUTOUPDATE = "1";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user