add playwright and playwright-mcp, configure opencode mcp server
This commit is contained in:
parent
a2eebb3db3
commit
e68ccbb861
2 changed files with 15 additions and 2 deletions
|
|
@ -5,7 +5,10 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages =
|
||||
(with pkgs; [ ])
|
||||
(with pkgs; [
|
||||
playwright
|
||||
playwright-mcp
|
||||
])
|
||||
++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [
|
||||
ccusage-opencode
|
||||
opencode
|
||||
|
|
@ -24,10 +27,19 @@
|
|||
programs.opencode = {
|
||||
enable = true;
|
||||
package = inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
|
||||
settings = {
|
||||
tui = {
|
||||
theme = "system";
|
||||
autoupdate = false;
|
||||
};
|
||||
settings = {
|
||||
mcp = {
|
||||
playwright = {
|
||||
type = "local";
|
||||
command = [ "mcp-server-playwright" ];
|
||||
enabled = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue