Commit 227510e
Changed files (3)
home
base
tui
modules
dev
home/base/tui/ai/default.nix
@@ -1,3 +0,0 @@
-{mylib, ...}: {
- imports = mylib.scanModules ./.;
-}
home/base/tui/ai/opencode.nix
@@ -1,23 +0,0 @@
-{...}: {
- 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"];
- };
- };
- };
- };
-}
modules/dev/opencode.nix
@@ -0,0 +1,25 @@
+{
+ flake.modules.homeManager.dev = _: {
+ 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"];
+ };
+ };
+ };
+ };
+ };
+}