2024-11-10 20:50:48 -08:00
|
|
|
{ ... }:
|
|
|
|
let
|
|
|
|
myextensions = [
|
|
|
|
"fish"
|
|
|
|
"lua"
|
|
|
|
"nix"
|
|
|
|
"ruff"
|
|
|
|
"scala"
|
|
|
|
"sql"
|
|
|
|
"swift"
|
|
|
|
"toml"
|
|
|
|
];
|
|
|
|
in
|
|
|
|
{
|
|
|
|
programs.zed-editor = {
|
|
|
|
enable = true;
|
|
|
|
extensions = myextensions;
|
|
|
|
userSettings = {
|
2024-12-18 22:15:42 -08:00
|
|
|
assistant = {
|
|
|
|
version = "2";
|
|
|
|
default_model = {
|
|
|
|
provider = "copilot_chat";
|
|
|
|
model = "gpt-4o";
|
|
|
|
};
|
|
|
|
};
|
2024-11-10 20:50:48 -08:00
|
|
|
features = {
|
|
|
|
copilot = true;
|
|
|
|
};
|
2024-12-18 22:15:42 -08:00
|
|
|
language_models = {
|
|
|
|
openai = {
|
|
|
|
available_models = [
|
|
|
|
{
|
|
|
|
provider = "openai";
|
|
|
|
name = "gpt-4o";
|
|
|
|
max_tokens = 128000;
|
|
|
|
}
|
|
|
|
{
|
|
|
|
provider = "openai";
|
|
|
|
name = "gpt-4o-mini";
|
|
|
|
max_tokens = 128000;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
version = "2";
|
|
|
|
};
|
|
|
|
};
|
2024-11-10 20:50:48 -08:00
|
|
|
telemetry.metrics = false;
|
|
|
|
theme = "Andromeda";
|
|
|
|
vim_mode = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|