feat: Added stuff

This commit is contained in:
uttarayan21
2025-08-08 15:02:25 +05:30
parent 516b8d095a
commit a9296d14be
2 changed files with 17 additions and 19 deletions

View File

@@ -3,10 +3,7 @@
lib, lib,
... ...
}: { }: {
# home.packages = lib.optionals pkgs.stdenv.isLinux [ home.packages = with pkgs; [nixd nil sleek];
# pkgs.zed-editor
# ];
programs.zed-editor = { programs.zed-editor = {
enable = true; enable = true;
extensions = ["catppuccin" "toml" "json" "yaml" "markdown" "python" "javascript" "typescript"]; extensions = ["catppuccin" "toml" "json" "yaml" "markdown" "python" "javascript" "typescript"];
@@ -74,5 +71,6 @@
}; };
theme = "Catppuccin Mocha"; theme = "Catppuccin Mocha";
}; };
extraPackages = with pkgs; [nixd nil sleek];
}; };
} }

View File

@@ -19,27 +19,27 @@
clients = [ clients = [
{ {
type = "openai-compatible"; type = "openai-compatible";
name = "ollama"; name = "mirai";
api_base = "https://ollama.darksailor.dev/v1"; api_base = "https://ollama.darksailor.dev/v1";
api_key_cmd = "cat ${config.sops.secrets."llama/api_key".path}"; api_key_cmd = "cat ${config.sops.secrets."llama/api_key".path}";
models = [ models = [
# {
# name = "RobinBially/nomic-embed-text-8k";
# type = "embedding";
# default_chunk_size = 8000;
# }
{ {
name = "RobinBially/nomic-embed-text-8k"; name = "gpt-oss-20b";
type = "embedding";
default_chunk_size = 8000;
}
{
name = "deepseek-r1:7b";
type = "chat";
}
{
name = "deepseek-r1:14b";
type = "chat";
}
{
name = "qwen3:8b";
type = "chat"; type = "chat";
} }
# {
# name = "deepseek-r1:14b";
# type = "chat";
# }
# {
# name = "qwen3:8b";
# type = "chat";
# }
]; ];
} }
{ {