mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-30 01:53:57 +01:00
Kimi Code moved its desktop client into an internal repository in July 2026 (MoonshotAI/kimi-code#1849), so the polished surface is no longer open source; the CLI that stays behind overlaps opencode2 and pi. Removing it drops one more redundant harness.
17 lines
491 B
Nix
17 lines
491 B
Nix
{
|
|
home.sessionVariables = {
|
|
PI_TELEMETRY = "0";
|
|
PI_SKIP_VERSION_CHECK = "1";
|
|
|
|
OPENCODE_DISABLE_AUTOUPDATE = "1";
|
|
};
|
|
|
|
# home.sessionVariables wraps every value in double quotes without escaping
|
|
# them (home-manager's lib.shell.export), which turns JSON like
|
|
# {"share":"disabled"} into the shell word {share:disabled}. Emit the export
|
|
# by hand so the quotes survive.
|
|
home.sessionVariablesExtra = ''
|
|
export OPENCODE_CONFIG_CONTENT='{"share":"disabled"}'
|
|
'';
|
|
}
|