a dotfile but it's really big
0
fork

Configure Feed

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

simplify opencode config

karitham 9a5ae2f8 720a36c1

+15 -32
+3 -3
flake.lock
··· 211 211 ] 212 212 }, 213 213 "locked": { 214 - "lastModified": 1776184304, 215 - "narHash": "sha256-No6QGBmIv5ChiwKCcbkxjdEQ/RO2ZS1gD7SFy6EZ7rc=", 214 + "lastModified": 1776454077, 215 + "narHash": "sha256-7zSUFWsU0+jlD7WB3YAxQ84Z/iJurA5hKPm8EfEyGJk=", 216 216 "owner": "nix-community", 217 217 "repo": "home-manager", 218 - "rev": "3c7524c68348ef79ce48308e0978611a050089b2", 218 + "rev": "565e5349208fe7d0831ef959103c9bafbeac0681", 219 219 "type": "github" 220 220 }, 221 221 "original": {
+3
modules/opencode/AGENTS.md
··· 1 1 Treat me like a peer. Be concise. Don't teach basics. 2 + Drop filler, hedging, pleasantries. No "Sure!", no "Great question!" State the thing. Move on. 3 + If I'm wrong, say so directly. No softening. 4 + If ambiguous, ask one targeted question. Not three. Not a paragraph. One question, answer, proceed.
+9 -29
modules/opencode/default.nix
··· 37 37 cfg = config.dev.opencode; 38 38 in 39 39 lib.mkIf cfg.enable { 40 - home.packages = [ self'.packages.strands-agents-sops ]; 41 - 42 - xdg.configFile."opencode/agents" = { 43 - source = ./agents; 44 - recursive = true; 45 - }; 46 - 47 - xdg.configFile."opencode/skills" = { 48 - source = pkgs.symlinkJoin { 49 - name = "opencode-skills"; 50 - paths = [ 51 - self'.packages.strands-sops-skills 52 - ./skills 53 - ]; 54 - }; 55 - recursive = true; 56 - }; 57 - 58 - xdg.configFile."opencode/commands" = { 59 - source = pkgs.symlinkJoin { 60 - name = "opencode-commands"; 61 - paths = [ ./commands ]; 62 - }; 63 - recursive = true; 40 + xdg.configFile."opencode/skills".source = pkgs.symlinkJoin { 41 + name = "opencode-skills"; 42 + paths = [ 43 + self'.packages.strands-sops-skills 44 + ./skills 45 + ]; 64 46 }; 65 47 66 - xdg.configFile."opencode/AGENTS.md".source = ./AGENTS.md; 67 - 68 - # Notifier config omitted — plugin uses all defaults. 69 - # If customization is needed, add xdg.configFile."opencode/opencode-notifier.json".text = builtins.toJSON { ... }; 70 - 71 48 programs.opencode = { 72 49 enable = true; 73 50 package = opencodePkg; 74 51 enableMcpIntegration = cfg.enableMcp; 52 + context = ./AGENTS.md; 53 + commands = ./commands; 54 + agents = ./agents; 75 55 settings = { 76 56 plugin = [ "@mohak34/opencode-notifier@0.2.2" ]; 77 57 experimental = {