From f14949b3054515f6444f0fc8900df7910ecadb20 Mon Sep 17 00:00:00 2001 From: Dmitriy Kholkin Date: Fri, 4 Jul 2025 14:31:20 +0300 Subject: [PATCH] feat: add `roo code` extension to vscode --- modules/home/applications/vscode.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/modules/home/applications/vscode.nix b/modules/home/applications/vscode.nix index cee009d..320b8da 100644 --- a/modules/home/applications/vscode.nix +++ b/modules/home/applications/vscode.nix @@ -81,6 +81,9 @@ in polypus74.trusty-rusty-snippets rust-lang.rust-analyzer ext-nixpkgs.vadimcn.vscode-lldb + # AI + ggml-org.llama-vscode + rooveterinaryinc.roo-cline ]; # mutableExtensionsDir = false; userSettings = { @@ -94,6 +97,7 @@ in "strings" = true; }; "files.autoSave" = "afterDelay"; + "files.enableTrash" = false; "files.exclude" = { "**/.classpath" = true; "**/.devenv" = true; @@ -115,6 +119,11 @@ in "license.default" = "mit"; "license.extension" = ".md"; "license.year" = "auto"; + "llama-vscode.launch_chat" = ""; + "llama-vscode.launch_completion" = "${pkgs.llama-cpp}/bin/llama-server --fim-qwen-3b-default"; + "llama-vscode.launch_embeddings" = ""; + "llama-vscode.launch_training_chat" = ""; + "llama-vscode.launch_training_completion" = ""; "nix.enableLanguageServer" = true; "nix.formatterPath" = getExe pkgs.nixfmt-rfc-style; # "nix.serverPath" = getExe pkgs.nil; @@ -133,6 +142,11 @@ in }; }; }; + "roo-cline.allowedCommands" = [ + "git log" + "git diff" + "git show" + ]; "rust-analyzer.check.command" = "clippy"; "search.exclude" = { "**/.devenv" = true;