From e68ccbb8613c35aee0e6c4b8c62a02b50615921d Mon Sep 17 00:00:00 2001 From: William Date: Fri, 1 May 2026 16:21:59 -0300 Subject: [PATCH] add playwright and playwright-mcp, configure opencode mcp server --- aspects/ai.nix | 16 ++++++++++++++-- aspects/desktop/web.nix | 1 + 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/aspects/ai.nix b/aspects/ai.nix index 30c7342..feb4fb7 100644 --- a/aspects/ai.nix +++ b/aspects/ai.nix @@ -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; + }; + }; + }; }; }; }; diff --git a/aspects/desktop/web.nix b/aspects/desktop/web.nix index 0284e5e..9803248 100644 --- a/aspects/desktop/web.nix +++ b/aspects/desktop/web.nix @@ -15,6 +15,7 @@ bitwarden-desktop qbittorrent nextcloud-client + ungoogled-chromium vesktop ]; };