perf: change offload to nvidia-offload

This commit is contained in:
DACHXY 2025-04-01 12:25:58 +08:00
parent 3ddbca3f7c
commit 67826a3658
17 changed files with 163 additions and 254 deletions

View file

@ -288,11 +288,6 @@ in
nixd = {
cmd = { "nixd" },
filetypes = { "nix" },
single_file_support = true,
root_dir = function(fname)
return require("lspconfig.util").root_pattern("flake.nix")(fname)
or vim.fs.dirname(vim.fs.find(".git", { path = fname, upward = true })[1])
end,
settings = {
nixd = {
nixpkgs = {