1
Fork 0
nixos-system-config/modules/packages/nvim.nix

51 lines
993 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
environment.persistence."/nix/persist".users.hu.directories = [
".local/share/nvim"
".local/state/nvim"
];
environment.variables = {
EDITOR = "nvim";
};
home-manager.users.hu = {
programs.neovim = {
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
lua-language-server
nodePackages.intelephense
nodePackages.typescript-language-server
(llvmPackages_19.clang-tools.override {
enableLibcxx = true;
})
ccls
ripgrep
nil
gcc14
basedpyright
rust-analyzer
zathura
git
texliveFull
luajitPackages.jsregexp
luajitPackages.luarocks
fd
texlab
haskell-language-server
2024-09-28 21:05:55 +02:00
rustc
2024-12-24 22:35:39 +01:00
shellcheck
bash-language-server
];
};
home.file."/home/hu/.config/nvim" = {
source = ../../dotfiles/nvim;
recursive = true;
};
};
}