dotfiles.nix/home-manager/sajenim/features/nvim/default.nix

29 lines
608 B
Nix
Raw Normal View History

2024-01-21 21:01:42 +08:00
{ pkgs, ... }:
2023-05-15 21:11:30 +08:00
{
programs.neovim = {
enable = true;
2023-10-31 05:41:03 +08:00
#package = pkgs.neovim-nightly;
defaultEditor = true;
extraPackages = with pkgs; [
# Required for nvim-treesitter
gcc
# Required for telescope.nvim
fd
ripgrep
2024-01-21 21:01:42 +08:00
# Required for markdown-preview.nvim
nodejs
yarn
# Language server packages
nil
haskell-language-server
lua-language-server
2024-02-05 11:15:58 +08:00
clang-tools
2023-05-15 21:11:30 +08:00
];
};
2024-01-21 21:01:42 +08:00
home.persistence."/persist/home/sajenim".directories = [ ".local/share/nvim" ];
2023-05-15 21:11:30 +08:00
xdg.configFile.nvim = { source = ./config; recursive = true; };
}