Compare commits
7
Commits
99b50d56dd
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0b810b69fc | ||
|
|
7808846a91 | ||
|
|
403e7ae136 | ||
|
|
f18e0a1123 | ||
|
|
a19e1477f2 | ||
|
|
0a536c33fc | ||
|
|
4114212d41 |
+19
-2
@@ -64,6 +64,7 @@ in
|
|||||||
scrot
|
scrot
|
||||||
signal-desktop
|
signal-desktop
|
||||||
spotify
|
spotify
|
||||||
|
teams-for-linux
|
||||||
thunderbird
|
thunderbird
|
||||||
tor
|
tor
|
||||||
tor-browser
|
tor-browser
|
||||||
@@ -250,9 +251,25 @@ in
|
|||||||
output = 8192;
|
output = 8192;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"qwen2.5:32b" = {
|
||||||
|
name = "Qwen2.5 32B";
|
||||||
|
limit = {
|
||||||
|
context = 65536;
|
||||||
|
output = 8192;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
"gemma4:26b" = {
|
"gemma4:31b" = {
|
||||||
name = "Gemma 4 26B";
|
name = "Gemma 4 31B";
|
||||||
|
limit = {
|
||||||
|
context = 65536;
|
||||||
|
output = 8192;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
"glm-4.7-flash" = {
|
||||||
|
name = "GLM 4.7 Flash";
|
||||||
limit = {
|
limit = {
|
||||||
context = 65536;
|
context = 65536;
|
||||||
output = 8192;
|
output = 8192;
|
||||||
|
|||||||
+23
-9
@@ -147,13 +147,11 @@ in
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
-- nvim-treesitter no longer exposes a configs module; highlighting is
|
|
||||||
-- started per buffer. Indent is deliberately left alone so treesitter
|
|
||||||
-- doesn't fight the Eclipse-matching tab settings below.
|
|
||||||
vim.api.nvim_create_autocmd("FileType", {
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
pattern = {
|
pattern = {
|
||||||
"java", "xml", "nix", "lua", "rs", "go", "gomod",
|
"java", "xml", "nix", "lua", "rust", "go", "gomod",
|
||||||
"php", "sql", "html", "css", "scss", "javascript",
|
"php", "sql", "html", "css", "scss", "javascript",
|
||||||
|
"javascriptreact", "typescript", "typescriptreact", "json",
|
||||||
},
|
},
|
||||||
callback = function(args)
|
callback = function(args)
|
||||||
pcall(vim.treesitter.start, args.buf)
|
pcall(vim.treesitter.start, args.buf)
|
||||||
@@ -373,8 +371,8 @@ in
|
|||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
init_options = { provideFormatter = true },
|
init_options = { provideFormatter = true },
|
||||||
settings = {
|
settings = {
|
||||||
css = { validate = true },
|
css = { validate = true, lint = { unknownAtRules = "ignore" } },
|
||||||
scss = { validate = true },
|
scss = { validate = true, lint = { unknownAtRules = "ignore" } },
|
||||||
less = { validate = true },
|
less = { validate = true },
|
||||||
},
|
},
|
||||||
on_attach = web_attach,
|
on_attach = web_attach,
|
||||||
@@ -391,12 +389,28 @@ in
|
|||||||
|
|
||||||
vim.lsp.config("emmet_ls", {
|
vim.lsp.config("emmet_ls", {
|
||||||
cmd = { "emmet-ls", "--stdio" },
|
cmd = { "emmet-ls", "--stdio" },
|
||||||
filetypes = { "html", "css", "scss", "less", "javascriptreact", "typescriptreact", "php" },
|
filetypes = { "html", "css", "scss", "less", "javascriptreact", "typescriptreact" },
|
||||||
root_markers = { ".git" },
|
root_markers = { ".git" },
|
||||||
capabilities = capabilities,
|
capabilities = capabilities,
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.lsp.enable({ "phpactor", "sqls", "html", "cssls", "ts_ls", "emmet_ls" })
|
vim.lsp.config("tailwindcss", {
|
||||||
|
cmd = { "tailwindcss-language-server", "--stdio" },
|
||||||
|
filetypes = { "html", "css", "scss", "javascript", "javascriptreact", "typescript", "typescriptreact" },
|
||||||
|
root_markers = { "tailwind.config.js", "tailwind.config.ts", "postcss.config.js", "postcss.config.mjs", "package.json", ".git" },
|
||||||
|
capabilities = capabilities,
|
||||||
|
on_attach = web_attach,
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.lsp.config("jsonls", {
|
||||||
|
cmd = { "vscode-json-language-server", "--stdio" },
|
||||||
|
filetypes = { "json", "jsonc" },
|
||||||
|
root_markers = { "package.json", ".git" },
|
||||||
|
capabilities = capabilities,
|
||||||
|
init_options = { provideFormatter = true },
|
||||||
|
on_attach = web_attach,
|
||||||
|
})
|
||||||
|
vim.lsp.enable({ "phpactor", "sqls", "html", "cssls", "ts_ls", "emmet_ls", "tailwindcss", "jsonls" })
|
||||||
|
|
||||||
-- Linters (diagnostics): run on open and save. phpstan can be slow on
|
-- Linters (diagnostics): run on open and save. phpstan can be slow on
|
||||||
-- big projects, so it is deliberately not run on every keystroke.
|
-- big projects, so it is deliberately not run on every keystroke.
|
||||||
@@ -592,7 +606,7 @@ in
|
|||||||
{ plugin = rustaceanvim; }
|
{ plugin = rustaceanvim; }
|
||||||
{ plugin = nvim-lint; }
|
{ plugin = nvim-lint; }
|
||||||
{ plugin = conform-nvim; }
|
{ plugin = conform-nvim; }
|
||||||
{ plugin = (nvim-treesitter.withPlugins (p: [ p.java p.xml p.nix p.lua p.rust p.go p.gomod p.php p.sql p.html p.css p.javascript ])); }
|
{ plugin = (nvim-treesitter.withPlugins (p: [ p.java p.xml p.nix p.lua p.rust p.go p.gomod p.php p.sql p.html p.css p.javascript p.typescript p.tsx p.json ])); }
|
||||||
|
|
||||||
{ plugin = vim-obsession; }
|
{ plugin = vim-obsession; }
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -128,4 +128,6 @@ in
|
|||||||
localNetworkGameTransfers.openFirewall = true;
|
localNetworkGameTransfers.openFirewall = true;
|
||||||
gamescopeSession.enable = true;
|
gamescopeSession.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.gamemode.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -61,6 +61,11 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
clamav = {
|
||||||
|
daemon.enable = true;
|
||||||
|
updater.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
libinput = {
|
libinput = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user