diff --git a/home/googlebot.nix b/home/googlebot.nix index b477c1c..8747a1a 100644 --- a/home/googlebot.nix +++ b/home/googlebot.nix @@ -61,7 +61,8 @@ in programs.vscode = { enable = thisMachineIsPersonal; - package = pkgs.vscodium; + # Must use fhs version for vscode-lldb + package = pkgs.vscodium-fhs; profiles.default = { userSettings = { editor.formatOnSave = true; @@ -78,6 +79,15 @@ in lsp.serverPort = 6005; # port needs to match Godot configuration editorPath.godot4 = "godot-mono"; }; + rust-analyzer = { + restartServerOnConfigChange = true; + testExplorer = true; + server.path = "rust-analyzer"; # Use the rust-analyzer from PATH (which is set by nixEnvSelector from the project's flake) + }; + nixEnvSelector = { + useFlakes = true; # This hasn't ever worked for me and I have to use shell.nix... but maybe someday + suggestion = false; # Stop really annoy nagging + }; }; extensions = with pkgs.vscode-extensions; [ bbenoist.nix # nix syntax support