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({})
end
local function setup_nix()
require("lspconfig").nixd.setup({})
end
return {
{
"neovim/nvim-lspconfig",
@@ -65,8 +69,8 @@ return {
ensure_installed = {
"ts_ls",
"lua_ls",
"luau_lsp",
"rust_analyzer",
"nil_ls",
"tailwindcss",
"svelte",
"html",
@@ -78,6 +82,7 @@ return {
setup_luau()
setup_lua()
setup_ts()
setup_nix()
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
openssl
gnupg
nixd
];
programs.nix-ld.enable = lib.mkDefault true;
programs.zsh.enable = lib.mkDefault true;

View File

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

View File

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

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

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