add jq package
This commit is contained in:
parent
92889db745
commit
a4d39edbdf
3 changed files with 14 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
local util = require("lspconfig.util")
|
||||
|
||||
require("lspconfig").lua_ls.setup({
|
||||
on_init = function(client)
|
||||
local path = client.workspace_folders[1].name
|
||||
|
|
@ -46,6 +48,12 @@ return {
|
|||
nil_ls = false,
|
||||
nixd = {
|
||||
cmd = { "nixd" },
|
||||
filetypes = { "nix" },
|
||||
single_file_support = true,
|
||||
root_dir = function(fname)
|
||||
return util.root_pattern("flake.nix")(fname)
|
||||
or vim.fs.dirname(vim.fs.find(".git", { path = fname, upward = true })[1])
|
||||
end,
|
||||
settings = {
|
||||
nixd = {
|
||||
nixpkgs = {
|
||||
|
|
@ -70,6 +78,10 @@ return {
|
|||
filetypes = { "nginx" },
|
||||
rootPatterns = { "nginx.conf", ".git" },
|
||||
},
|
||||
jsonls = {
|
||||
cmd = { "vscode-json-languageserver", "--stdio" },
|
||||
filetypes = { "json" },
|
||||
},
|
||||
},
|
||||
},
|
||||
setup = {},
|
||||
|
|
|
|||
|
|
@ -42,6 +42,7 @@ in
|
|||
networking.hostName = lib.mkForce "dn-pre7780";
|
||||
|
||||
system.stateVersion = nix-version;
|
||||
services.wallpaperEngine.enable = lib.mkForce false;
|
||||
|
||||
home-manager = {
|
||||
backupFileExtension = "hm-backup";
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
nemo
|
||||
|
||||
# Utils
|
||||
jq
|
||||
bat
|
||||
btop
|
||||
eza
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue