mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
aichat: nixify
This commit is contained in:
parent
735935627d
commit
56ec13855a
2 changed files with 33 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ vim:ft=gotmpl
|
|||
.config/zed/settings.json
|
||||
.config/zed/keymap.json
|
||||
.config/starship.toml
|
||||
.config/aichat
|
||||
.local/share/kio/**
|
||||
.local/share/fonts/**
|
||||
{{ end }}
|
||||
|
|
|
|||
32
nixcfgs/users/js0ny/programs/aichat.nix
Normal file
32
nixcfgs/users/js0ny/programs/aichat.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{...}: {
|
||||
programs.aichat = {
|
||||
enable = true;
|
||||
settings = {
|
||||
model = "openrouter:qwen/qwen3-235b-a22b-2507";
|
||||
clients = [
|
||||
{
|
||||
type = "openai-compatbile";
|
||||
name = "openrouter";
|
||||
api_base = "https://openrouter.ai/api/v1";
|
||||
models = [
|
||||
{name = "google/gemini-2.5-flash";}
|
||||
{name = "google/gemini-2.5-pro";}
|
||||
{name = "google/gemini-3-pro-preview";}
|
||||
{name = "anthropic/claude-sonnet-4.5";}
|
||||
{name = "anthropic/claude-haiku-4.5";}
|
||||
{name = "anthropic/claude-opus-4.1";}
|
||||
{name = "openai/gpt-5.1";}
|
||||
{name = "openai/gpt-5.1-codex";}
|
||||
{name = "openai/gpt-5-mini";}
|
||||
{name = "x-ai/grok-code-fast-1";}
|
||||
{name = "x-ai/grok-4-fast";}
|
||||
{name = "x-ai/grok-4";}
|
||||
{name = "deepseek/deepseek-v3.2-exp";}
|
||||
{name = "qwen/qwen3-235b-a22b-2507";}
|
||||
{name = "qwen/qwen3-max";}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue