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, ... }: { inputs, pkgs, ... }:
{ {
environment.systemPackages = environment.systemPackages =
(with pkgs; [ ]) (with pkgs; [
playwright
playwright-mcp
])
++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [ ++ (with inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}; [
ccusage-opencode ccusage-opencode
opencode opencode
@ -24,10 +27,19 @@
programs.opencode = { programs.opencode = {
enable = true; enable = true;
package = inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}.opencode; package = inputs.nix-ai-tools.packages.${pkgs.stdenv.hostPlatform.system}.opencode;
settings = { tui = {
theme = "system"; theme = "system";
autoupdate = false; autoupdate = false;
}; };
settings = {
mcp = {
playwright = {
type = "local";
command = [ "mcp-server-playwright" ];
enabled = true;
};
};
};
}; };
}; };
}; };

View file

@ -15,6 +15,7 @@
bitwarden-desktop bitwarden-desktop
qbittorrent qbittorrent
nextcloud-client nextcloud-client
ungoogled-chromium
vesktop vesktop
]; ];
}; };