flake update
This commit is contained in:
@@ -12,103 +12,134 @@ in {
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
nur.repos.charmbracelet.crush
|
||||
bruno
|
||||
filezilla
|
||||
insomnia
|
||||
opencode
|
||||
];
|
||||
|
||||
programs.zed-editor = {
|
||||
enable = true;
|
||||
userSettings = {
|
||||
features = {
|
||||
inline_prediction_provider = "zed";
|
||||
edit_prediction_provider = "zed";
|
||||
copilot = false;
|
||||
};
|
||||
telemetry = {
|
||||
metrics = false;
|
||||
};
|
||||
lsp = {
|
||||
rust_analyzer = {
|
||||
binary = {path_lookup = true;};
|
||||
};
|
||||
};
|
||||
languages = {
|
||||
Nix = {
|
||||
language_servers = ["nixd"];
|
||||
formatter = {
|
||||
external = {
|
||||
command = "alejandra";
|
||||
arguments = ["-q" "-"];
|
||||
};
|
||||
};
|
||||
};
|
||||
Python = {
|
||||
language_servers = ["pyrefly"];
|
||||
formatter = {
|
||||
external = {
|
||||
command = "black";
|
||||
arguments = ["-"];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
lsp = {
|
||||
"pyrefly" = {
|
||||
command = {
|
||||
path = "pyrefly";
|
||||
args = ["--lsp"];
|
||||
env = {};
|
||||
};
|
||||
settings = {};
|
||||
agent_servers = {
|
||||
your_agent = {
|
||||
command = "path_to_executable";
|
||||
args = [];
|
||||
env = {};
|
||||
};
|
||||
};
|
||||
auto_update = false;
|
||||
buffer_font_family = "FiraCode Nerd Font";
|
||||
buffer_font_size = 16;
|
||||
context_servers = {
|
||||
"some-context-server" = {
|
||||
command = {
|
||||
path = "some-command";
|
||||
args = ["arg-1" "arg-2"];
|
||||
env = {};
|
||||
};
|
||||
browsermcp = {
|
||||
source = "custom";
|
||||
enabled = true;
|
||||
command = "npx";
|
||||
args = ["@browsermcp/mcp@latest"];
|
||||
};
|
||||
some-context-server = {
|
||||
source = "custom";
|
||||
command = "some-command";
|
||||
args = ["arg-1" "arg-2"];
|
||||
env = {};
|
||||
settings = {};
|
||||
};
|
||||
};
|
||||
assistant = {
|
||||
version = "2";
|
||||
default_model = {
|
||||
provider = "anthropic";
|
||||
model = "Claude 3.7 Sonnet";
|
||||
};
|
||||
features = {
|
||||
copilot = false;
|
||||
edit_prediction_provider = "zed";
|
||||
inline_prediction_provider = "zed";
|
||||
};
|
||||
format_on_save = "on";
|
||||
language_models = {
|
||||
anthropic = {
|
||||
version = "1";
|
||||
api_url = "https://api.anthropic.com";
|
||||
openai_compatible = {
|
||||
AZ = {
|
||||
api_url = "https://llm.az-gruppe.com";
|
||||
available_models = [
|
||||
{
|
||||
name = "claude-4-5-sonnet";
|
||||
display_name = null;
|
||||
max_tokens = 200000;
|
||||
max_output_tokens = 32000;
|
||||
max_completion_tokens = 200000;
|
||||
capabilities = {
|
||||
tools = true;
|
||||
images = false;
|
||||
parallel_tool_calls = false;
|
||||
prompt_cache_key = false;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
openai = {
|
||||
version = "1";
|
||||
api_url = "https://api.openai.com/v1";
|
||||
anthropic = {
|
||||
api_url = "https://api.anthropic.com";
|
||||
};
|
||||
ollama = {
|
||||
api_url = "http://localhost:11434";
|
||||
};
|
||||
openai = {
|
||||
api_url = "https://api.openai.com/v1";
|
||||
};
|
||||
};
|
||||
languages = {
|
||||
Nix = {
|
||||
formatter = {
|
||||
external = {
|
||||
arguments = ["-q" "-"];
|
||||
command = "alejandra";
|
||||
};
|
||||
};
|
||||
language_servers = ["nixd"];
|
||||
};
|
||||
Python = {
|
||||
formatter = {
|
||||
external = {
|
||||
arguments = ["-"];
|
||||
command = "black";
|
||||
};
|
||||
};
|
||||
language_servers = ["pyrefly"];
|
||||
};
|
||||
};
|
||||
load_direnv = "shell_hook";
|
||||
lsp = {
|
||||
pyrefly = {
|
||||
command = {
|
||||
args = ["--lsp"];
|
||||
env = {};
|
||||
path = "pyrefly";
|
||||
};
|
||||
settings = {};
|
||||
};
|
||||
rust_analyzer = {
|
||||
binary = {
|
||||
path_lookup = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
show_edit_predictions = true;
|
||||
ssh_connections = [
|
||||
{
|
||||
args = ["-i" "~/.ssh/m3tam3re"];
|
||||
host = "152.53.85.162";
|
||||
nickname = "m3-atlas";
|
||||
args = ["-i" "~/.ssh/m3tam3re"];
|
||||
}
|
||||
];
|
||||
auto_update = false;
|
||||
format_on_save = "on";
|
||||
vim_mode = true;
|
||||
load_direnv = "shell_hook";
|
||||
telemetry = {
|
||||
metrics = false;
|
||||
};
|
||||
theme = "Dracula";
|
||||
buffer_font_family = "FiraCode Nerd Font";
|
||||
ui_font_size = 16;
|
||||
buffer_font_size = 16;
|
||||
show_edit_predictions = true;
|
||||
vim_mode = true;
|
||||
agent = {
|
||||
default_model = {
|
||||
model = "Claude 3.7 Sonnet";
|
||||
provider = "anthropic";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user