Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions home/common/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,28 @@ in
# PATH = "$HOME/bin:$PATH";
NIXOS_OZONE_WL = "1"; # This variable fixes electron apps in wayland
NIXPKGS_ALLOW_UNFREE = "1";
# OpenCode feature flags (Drew, 2026-10-20): both web-search backends
# (Exa + Parallel) so the websearch tool works with any provider, and
# the interesting experimental features. OPENCODE_EXPERIMENTAL is the
# umbrella (code mode keys off it). NATIVE_LLM deliberately not set.
OPENCODE_ENABLE_EXA = "1";
OPENCODE_ENABLE_PARALLEL = "1";
OPENCODE_ENABLE_EXPERIMENTAL_MODELS = "1";
OPENCODE_EXPERIMENTAL = "1";
Comment on lines +1167 to +1170

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Export the flags to the OpenCode-hosting services

When OpenCode is launched through the managed openchamber, mcpx, or t3code user services, these assignments are never present: home.sessionVariables is sourced by login shells, while those services use their own systemd environments and wrappers (openchamber at lines 680-723 and mcpxEnvironment at lines 32-46). Their deployment keys also remain unchanged, so the running daemons are not restarted or handed over after activation. Consequently, web search and the experimental tools remain disabled in the repository's server/orchestrator sessions even though shell-launched opencode receives them; export the shared flags through the service environments/wrappers and include them in the relevant deployment keys.

Useful? React with 👍 / 👎.

OPENCODE_EXPERIMENTAL_PARALLEL = "1";
OPENCODE_EXPERIMENTAL_PLAN_MODE = "1";
OPENCODE_EXPERIMENTAL_SCOUT = "1";
OPENCODE_EXPERIMENTAL_WORKSPACES = "1";
OPENCODE_EXPERIMENTAL_LSP_TOOL = "1";
OPENCODE_EXPERIMENTAL_OXFMT = "1";
OPENCODE_EXPERIMENTAL_EXA = "1";
OPENCODE_EXPERIMENTAL_EVENT_SYSTEM = "1";
OPENCODE_EXPERIMENTAL_ICON_DISCOVERY = "1";
OPENCODE_EXPERIMENTAL_DISABLE_COPY_ON_SELECT = "1";
# File watcher off by default (Drew, 2026-10-20): the working trees
# are giant, and watching costs more than the live-external-edit
# awareness it buys. Diffs are git-computed on demand either way.
OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER = "1";
# XDG_CACHE_HOME = "$HOME/.cache";
# XDG_CONFIG_DIRS = "/etc/xdg";
# XDG_CONFIG_HOME = "$HOME/.config";
Expand Down
Loading