mirror of
https://github.com/nix-community/home-manager.git
synced 2026-06-05 21:02:51 +00:00
25 lines
585 B
Nix
25 lines
585 B
Nix
{
|
|
programs.github-copilot-cli = {
|
|
enable = true;
|
|
mcpServers = {
|
|
playwright = {
|
|
type = "local";
|
|
command = "npx";
|
|
args = [ "@playwright/mcp@latest" ];
|
|
tools = [ "*" ];
|
|
};
|
|
context7 = {
|
|
type = "http";
|
|
url = "https://mcp.context7.com/mcp";
|
|
tools = [ "*" ];
|
|
};
|
|
};
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.copilot/mcp-config.json
|
|
assertFileContent home-files/.copilot/mcp-config.json ${./expected-mcp-config.json}
|
|
assertPathNotExists home-files/.copilot/config.json
|
|
'';
|
|
}
|