fix: use nixd

This commit is contained in:
2025-08-18 18:51:00 -07:00
parent 1477836e91
commit 4e1c0a168b
6 changed files with 14 additions and 2 deletions

View File

@@ -43,6 +43,10 @@ local function setup_ts()
require("lspconfig").ts_ls.setup({}) require("lspconfig").ts_ls.setup({})
end end
local function setup_nix()
require("lspconfig").nixd.setup({})
end
return { return {
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
@@ -65,8 +69,8 @@ return {
ensure_installed = { ensure_installed = {
"ts_ls", "ts_ls",
"lua_ls", "lua_ls",
"luau_lsp",
"rust_analyzer", "rust_analyzer",
"nil_ls",
"tailwindcss", "tailwindcss",
"svelte", "svelte",
"html", "html",
@@ -78,6 +82,7 @@ return {
setup_luau() setup_luau()
setup_lua() setup_lua()
setup_ts() setup_ts()
setup_nix()
end, end,
}, },
} }

2
mise.toml Normal file
View File

@@ -0,0 +1,2 @@
[tools]
"ubi:lune-org/lune" = "latest"

View File

@@ -55,6 +55,7 @@
pkg-config pkg-config
openssl openssl
gnupg gnupg
nixd
]; ];
programs.nix-ld.enable = lib.mkDefault true; programs.nix-ld.enable = lib.mkDefault true;
programs.zsh.enable = lib.mkDefault true; programs.zsh.enable = lib.mkDefault true;

View File

@@ -36,7 +36,6 @@
wl-clip-persist wl-clip-persist
wdisplays wdisplays
efibootmgr efibootmgr
nixd
xfce.thunar xfce.thunar
altserver-linux altserver-linux
xdg-desktop-portal xdg-desktop-portal

View File

@@ -15,6 +15,7 @@
tmux = import ./tmux.nix { inherit pkgs; }; tmux = import ./tmux.nix { inherit pkgs; };
oh-my-posh = import ./omp.nix; oh-my-posh = import ./omp.nix;
eza = import ./eza.nix; eza = import ./eza.nix;
mise = import ./mise.nix;
}; };
xdg.mimeApps = import ./mime.nix; xdg.mimeApps = import ./mime.nix;

4
nix/users/luca/mise.nix Normal file
View File

@@ -0,0 +1,4 @@
{
enable = true;
enableZshIntegration = true;
}