dotfiles/modules/home/rsydn/programs/neovim.nix
2025-10-28 15:59:39 +07:00

30 lines
471 B
Nix

{ pkgs, ... }: {
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withPython3 = true;
withRuby = true;
extraPackages = with pkgs; [
# Formatters
stylua
nixfmt
# Tools
ripgrep
fd
git
ast-grep
];
};
# Symlink LazyVim config to ~/.config/nvim
xdg.configFile."nvim" = {
source = ./nvim;
recursive = true;
};
}