dotfiles/modules/new_nvim/default.nix

39 lines
746 B
Nix
Raw Permalink Normal View History

2024-12-29 19:16:05 +01:00
{
pkgs,
...
}:
{
home-manager.users.kalle = {
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
extraPackages = with pkgs; [
nodejs_22 # Required for copilot-vim
ripgrep # Required for telescope
wl-clipboard # Required for clipboard sync
# Language servers
clang-tools
lua-language-server
nodePackages.typescript-language-server
nodePackages."@astrojs/language-server"
typescript
tailwindcss-language-server
gopls
vhdl-ls
nixd
nixfmt-rfc-style
];
};
xdg.configFile.nvim = {
source = ./config;
recursive = true;
};
};
}