nix: waydroid

This commit is contained in:
js0ny 2025-10-14 01:33:40 +01:00
parent c9ce831415
commit 0c6d0edb42
9 changed files with 142 additions and 59 deletions

View file

@ -0,0 +1,32 @@
-- <nixCats>/lsp/nil.lua
-- Nil LSP config
vim.lsp.config("nil", {
cmd = { "nil" },
root_markers = {
"flake.nix",
"flake.lock",
},
filetypes = {
"nix",
},
-- Global config options
settings = {
["nil"] = {
formatting = {
command = { "alejandra" },
},
diagnostics = {
ignored = {},
},
nix = {
maxMemoryMB = 2560,
},
flake = {
autoArchive = false,
autoEvalImputs = true,
nixpkgsInputName = "nixpkgs",
},
},
},
})