dotfiles.nix/home-manager/common/programs/nvim/default.nix

25 lines
496 B
Nix
Raw Normal View History

2023-05-15 21:11:30 +08:00
{ inputs, outputs, lib, config, pkgs, ... }:
{
programs.neovim = {
enable = true;
2023-10-10 18:57:56 +08:00
package = pkgs.neovim-nightly;
defaultEditor = true;
extraPackages = with pkgs; [
2023-05-15 21:11:30 +08:00
# Misc
lazygit
# Required for nvim-treesitter
gcc
# Required for telescope.nvim
fd
ripgrep
# Language server packages
nil
haskell-language-server
lua-language-server
2023-05-15 21:11:30 +08:00
];
};
xdg.configFile.nvim = { source = ./config; recursive = true; };
}