-
Greetings, Maybe it is a stupid question, Is it any way to configure The main problem I have is since I am using Nixos, Zed tries to launch is own Also what I have note this is really important for some features like AI integration and other fancy stuff. this is my configuration file generated by {
"assistant": {
"default_model": {
"model": "claude-3-5",
"provider": "zed.dev"
},
"default_open_ai_model": null,
"version": "2"
},
"auto_install_extensions": {
"elixir": true,
"nix": true,
"toml": true
},
"auto_update": false,
"base_keymap": "VsCode",
"buffer_font_size": 16,
"hour_format": "hour24",
"load_direnv": "shell_hook",
"lsp": {
"nix": {
"binary": {
"path_lookup": true
}
},
"rust-analyzer": {
"binary": {
"path_lookup": true
}
}
},
"terminal": {
"alternate_scroll": "off",
"blinking": "off",
"button": false,
"copy_on_select": false,
"detect_venv": {
"on": {
"activate_script": "default",
"directories": [
".env",
"env",
".venv",
"venv"
]
}
},
"dock": "bottom",
"env": {},
"font_family": "FiraCode Nerd Font",
"font_features": null,
"font_size": null,
"line_height": "comfortable",
"option_as_meta": false,
"shell": "system",
"toolbar": {
"title": true
},
"working_directory": "current_project_directory"
},
"theme": "One Dark",
"ui_font_size": 16,
"vim_mode": true
} and this is the error I am getting from Zed Logs.
thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hey - I've run into a similar issue with nix on macOS. You should be able to add something along these lines to your zed settings: "node": {
"path": "${pkgs.nodejs}/bin/node",
"npm_path": "${pkgs.nodejs}/bin/npm"
}, |
Beta Was this translation helpful? Give feedback.
-
node = {
path = lib.getExe pkgs.nodejs;
npm_path = lib.getExe' pkgs.nodejs "npm";
}; this solution work for me at the end. |
Beta Was this translation helpful? Give feedback.
this solution work for me at the end.