feat(opencode): disable autoupdate and sharing

Keep OpenCode aligned with the Nix-managed install by disabling self-updates and prevent accidental public session sharing from the global config.
This commit is contained in:
Jet Pham 2026-04-09 19:21:58 -07:00
parent 08e6548986
commit 120a918491
No known key found for this signature in database

View file

@ -832,13 +832,8 @@ in
home.file.".config/opencode/opencode.json".text = builtins.toJSON { home.file.".config/opencode/opencode.json".text = builtins.toJSON {
"$schema" = "https://opencode.ai/config.json"; "$schema" = "https://opencode.ai/config.json";
mcp = { autoupdate = false;
linear = { share = "disabled";
type = "remote";
url = "https://mcp.linear.app/mcp";
enabled = true;
};
};
}; };
home.file.".config/opencode/AGENTS.md".text = '' home.file.".config/opencode/AGENTS.md".text = ''