From 120a918491fe8552626d577e87d45e8cd8e6411d Mon Sep 17 00:00:00 2001 From: Jet Pham Date: Thu, 9 Apr 2026 19:21:58 -0700 Subject: [PATCH] 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. --- home.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/home.nix b/home.nix index 21a076a..211401f 100644 --- a/home.nix +++ b/home.nix @@ -832,13 +832,8 @@ in home.file.".config/opencode/opencode.json".text = builtins.toJSON { "$schema" = "https://opencode.ai/config.json"; - mcp = { - linear = { - type = "remote"; - url = "https://mcp.linear.app/mcp"; - enabled = true; - }; - }; + autoupdate = false; + share = "disabled"; }; home.file.".config/opencode/AGENTS.md".text = ''