add playwright and playwright-mcp, configure opencode mcp server

This commit is contained in:
William 2026-05-01 16:21:59 -03:00
parent a2eebb3db3
commit e68ccbb861
2 changed files with 15 additions and 2 deletions

View file

@ -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;
};
};
};
};
};
};