style: format Nix files after modifications
This commit is contained in:
@@ -131,6 +131,8 @@
|
|||||||
clinfo
|
clinfo
|
||||||
ncurses
|
ncurses
|
||||||
kitty.terminfo
|
kitty.terminfo
|
||||||
|
nodejs_22
|
||||||
|
uv
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
|||||||
@@ -18,8 +18,6 @@ in {
|
|||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.nix-ld.enable = true;
|
programs.nix-ld.enable = true;
|
||||||
|
|
||||||
# Context7 MCP server for web search capabilities
|
|
||||||
# Provides up-to-date, version-specific documentation and code examples from source
|
|
||||||
environment.etc."opencode/opencode.json".text = builtins.toJSON {
|
environment.etc."opencode/opencode.json".text = builtins.toJSON {
|
||||||
"$schema" = "https://opencode.ai/config.json";
|
"$schema" = "https://opencode.ai/config.json";
|
||||||
"model" = "devstral-2-small-llama_cpp";
|
"model" = "devstral-2-small-llama_cpp";
|
||||||
@@ -75,24 +73,6 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Documentation for web search integration
|
|
||||||
# Web search capabilities are provided through the following MCP servers:
|
|
||||||
# 1. Context7 MCP: Remote HTTP server at https://mcp.context7.com/mcp
|
|
||||||
# - Provides up-to-date documentation and code examples from source
|
|
||||||
# - Useful for library-specific queries and documentation lookup
|
|
||||||
# - Example query: "How to implement authentication in Next.js"
|
|
||||||
#
|
|
||||||
# 2. DuckDuckGo MCP: Local MCP server (uvx duckduckgo-mcp-server)
|
|
||||||
# - Provides web search capabilities through DuckDuckGo API
|
|
||||||
# - Useful for current events, news, and general web information
|
|
||||||
# - Example query: "Latest news about AI technology"
|
|
||||||
#
|
|
||||||
# Limitations:
|
|
||||||
# - Context7 requires valid API key for production use (free tier available)
|
|
||||||
# - DuckDuckGo search is subject to rate limits and terms of service
|
|
||||||
# - Web search results may vary based on current availability of services
|
|
||||||
|
|
||||||
# This service runs the GSD installer directly from the source
|
|
||||||
systemd.services.opencode-gsd-install = {
|
systemd.services.opencode-gsd-install = {
|
||||||
description = "Install Get Shit Done OpenCode Components";
|
description = "Install Get Shit Done OpenCode Components";
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user