a dotfile but it's really big
0
fork

Configure Feed

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

dev/opencode: nixify opencode settings

karitham 3f94f4f0 fffa582e

+24 -3
+24 -3
modules/home/dev/opencode.nix
··· 1 1 {pkgs, ...}: { 2 - programs.opencode = { 3 - enable = true; 4 - package = pkgs.symlinkJoin { 2 + programs.opencode = let 3 + opencodePkg = pkgs.symlinkJoin { 5 4 name = "opencode-wrapped"; 6 5 paths = [pkgs.opencode]; 7 6 buildInputs = [pkgs.makeWrapper]; ··· 9 8 wrapProgram $out/bin/opencode \ 10 9 --set SHELL ${pkgs.bash}/bin/bash 11 10 ''; 11 + }; 12 + in { 13 + enable = true; 14 + package = opencodePkg; 15 + enableMcpIntegration = true; 16 + settings = { 17 + theme = "catppuccin-macchiato"; 18 + mcp = { 19 + linear = { 20 + type = "remote"; 21 + url = "https://mcp.linear.app/mcp"; 22 + enabled = true; 23 + headers = { 24 + Authorization = "Bearer {env:LINEAR_API_KEY}"; 25 + }; 26 + }; 27 + gopls = { 28 + type = "local"; 29 + command = ["gopls" "mcp"]; 30 + enabled = true; 31 + }; 32 + }; 12 33 }; 13 34 }; 14 35 }