Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add opencode config, don't index nix store with rust-analyzer

+34 -3
+16 -3
nvim/lua/plugins.lua
··· 36 36 main = "everforest", 37 37 opts = { background = "hard" } 38 38 }, 39 - { "rebelot/kanagawa.nvim", opts = { compile = true }, priority = 1000, lazy = true }, 39 + { "rebelot/kanagawa.nvim", opts = { compile = true }, priority = 1000, lazy = true }, 40 40 { 41 41 'jesseleite/nvim-noirbuddy', 42 42 dependencies = { ··· 281 281 { 282 282 "mrcjkb/rustaceanvim", 283 283 lazy = false, 284 - version = "^6" 284 + version = "^9", 285 + config = function() 286 + vim.g.rustaceanvim = { 287 + server = { 288 + settings = { 289 + ['rust-analyzer'] = { 290 + files = { 291 + excludeDirs = { "target", ".cargo", ".direnv" }, 292 + }, 293 + }, 294 + }, 295 + }, 296 + } 297 + end, 285 298 }, 286 299 { "mfussenegger/nvim-dap", lazy = true, ft = { "c", "rust" } }, 287 300 { 288 301 "saecki/crates.nvim", 289 - tag = "v0.4.0", 302 + tag = "v0.7.1", 290 303 dependencies = { "nvim-lua/plenary.nvim" }, 291 304 config = function() require("crates").setup() end, 292 305 lazy = true,
+18
opencode/opencode.json
··· 1 + { 2 + "$schema": "https://opencode.ai/config.json", 3 + "provider": { 4 + "ambient": { 5 + "models": { 6 + "ambient/large": { 7 + "name": "ambient/large", 8 + }, 9 + "zai-org/GLM-5-FP8": { 10 + "name": "zai-org/GLM-5-FP8" 11 + } 12 + }, 13 + "options": { 14 + "baseURL": "https://api.ambient.xyz/v1" 15 + } 16 + } 17 + } 18 + }