Commit fc92753
Changed files (2)
home
base
tui
home/base/tui/ai/default.nix
@@ -0,0 +1,3 @@
+{mylib, ...}: {
+ imports = mylib.scanModules ./.;
+}
home/base/tui/ai/opencode.nix
@@ -0,0 +1,23 @@
+{...}: {
+ programs.opencode = {
+ enable = true;
+ settings = {
+ theme = "catppuccin";
+ permission = {
+ edit = "ask";
+ webfetch = "ask";
+ bash = {
+ "ls" = "allow";
+ "cd" = "allow";
+ "pwd" = "allow";
+ };
+ };
+ mcp = {
+ context7 = {
+ type = "local";
+ command = ["bun" "-y" "@upstash/context7-mcp"];
+ };
+ };
+ };
+ };
+}