Update flake.lock and add Cerebras LLM to Zed

Uncomment development package imports and include the `opencode` tool in
both system and Zed packages. Update librewolf’s search URL template and
refresh locked revisions, hashes, and timestamps in the flake.lock.
This commit is contained in:
2025-11-23 00:07:46 +01:00
parent 8d06b7b0d0
commit 2be712393f
5 changed files with 87 additions and 43 deletions

View File

@@ -157,13 +157,7 @@
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
urls = [
{
template = "https://home-manager-options.extranix.com/release=master";
params = [
{
name = "query";
value = "{searchTerms}";
}
];
template = "https://home-manager-options.extranix.com/?query={searchTerms}&release=master";
}
];
};

View File

@@ -24,6 +24,7 @@
"html-jinja"
"deputy"
"biome"
"opencode"
];
extraPackages = with pkgs; [
@@ -31,6 +32,7 @@
rust-analyzer
nixd
nil
opencode
];
userSettings = {
@@ -38,8 +40,53 @@
always_allow_tool_actions = true;
default_profile = "ask";
default_model = {
provider = "anthropic";
model = "claude-sonnet-4-latest";
provider = "Cerebras";
model = "gpt-oss-120b";
};
};
language_models = {
openai_compatible = {
Cerebras = {
api_url = "https://api.cerebras.ai/v1";
available_models = [
{
name = "qwen-3-235b-a22b-instruct-2507";
display_name = "Qwen 3 235B Instruct";
max_tokens = 65000;
max_output_tokens = 32000;
capabilities = {
tools = true;
images = true;
parallel_tool_calls = true;
prompt_cache_key = false;
};
}
{
name = "llama-3.3-70b";
display_name = "Llama 3.3 70B";
max_tokens = 65000;
max_output_tokens = 32000;
capabilities = {
tools = true;
images = true;
parallel_tool_calls = true;
prompt_cache_key = true;
};
}
{
name = "gpt-oss-120b";
display_name = "OpenAI GPT OSS";
max_tokens = 65000;
max_output_tokens = 32000;
capabilities = {
tools = true;
images = true;
parallel_tool_calls = true;
prompt_cache_key = false;
};
}
];
};
};
};
telemetry = {
@@ -130,5 +177,6 @@
};
};
};
};
}