From 368850b0f959703728d4b14719269f1e2214ff42 Mon Sep 17 00:00:00 2001 From: ltadeu6 Date: Sat, 9 May 2026 19:23:52 -0300 Subject: [PATCH] Remove OpenCode config --- AGENTS.md | 5 ----- OPENCODE.md | 9 --------- home/ltadeu6.nix | 14 -------------- opencode.json | 10 ---------- 4 files changed, 38 deletions(-) delete mode 100644 OPENCODE.md delete mode 100644 opencode.json diff --git a/AGENTS.md b/AGENTS.md index e1d30af..5d28ad6 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -249,7 +249,6 @@ Este modulo concentra: - `xdg.mimeApps` - `xdg.userDirs` - `spotifyd` - - `opencode` - `programs.home-manager.enable = true` - session variables: - `MANPAGER` @@ -277,10 +276,6 @@ Este modulo concentra: - publica `switch_sink.sh` - Doom: - publica `config.el`, `init.el`, `packages.el` -- OpenCode: - - publica `~/.config/opencode/opencode.json` - - usa `OPENCODE.md` e `opencode.json` no root do repo para carregar contexto do projeto - - usa `ollama/qwen2.5-coder:7b` como modelo padrao - Wofi: - publica `config`, `style.css`, `menu`, `menu.css` diff --git a/OPENCODE.md b/OPENCODE.md deleted file mode 100644 index 8426c84..0000000 --- a/OPENCODE.md +++ /dev/null @@ -1,9 +0,0 @@ -# OpenCode Project Notes - -This repository is the local NixOS and Home Manager configuration for `ltadeu6`. - -- Treat the current working tree as the source of truth. -- Prefer local files and `read`/`glob`/`grep` tools over `webfetch`. -- Start with `AGENTS.md` for repo rules, then inspect `hosts/Nixos/configuration.nix` and `home/ltadeu6.nix`. -- Do not ask for a GitHub URL unless the user explicitly asks about a remote repository. -- This is a local project, not a template. diff --git a/home/ltadeu6.nix b/home/ltadeu6.nix index dd55210..c00355a 100644 --- a/home/ltadeu6.nix +++ b/home/ltadeu6.nix @@ -244,7 +244,6 @@ direnv unzip unstable.codex - unstable.opencode claude-code zip file-roller @@ -357,19 +356,6 @@ ".config/doom/init.el".source = ../configs/doom/init.el; ".config/doom/packages.el".source = ../configs/doom/packages.el; - ".config/opencode/opencode.json".text = builtins.toJSON { - "$schema" = "https://opencode.ai/config.json"; - model = "ollama/qwen2.5-coder:7b"; - provider = { - ollama = { - npm = "@ai-sdk/openai-compatible"; - name = "Ollama (local)"; - options.baseURL = "http://localhost:11434/v1"; - models."qwen2.5-coder:7b".name = "Qwen2.5 Coder 7B"; - }; - }; - }; - ".config/wofi/config".source = ../configs/wofi/config; ".config/wofi/style.css".source = ../configs/wofi/style.css; ".config/wofi/menu".source = ../configs/wofi/menu; diff --git a/opencode.json b/opencode.json deleted file mode 100644 index e303747..0000000 --- a/opencode.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$schema": "https://opencode.ai/config.json", - "model": "ollama/qwen2.5-coder:7b", - "instructions": [ - "OPENCODE.md", - "AGENTS.md", - "home/ltadeu6.nix", - "hosts/Nixos/configuration.nix" - ] -}