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;
|
2023-10-10 19:04:12 +08:00
|
|
|
defaultEditor = true;
|
|
|
|
extraPackages = with pkgs; [
|
2023-05-15 21:11:30 +08:00
|
|
|
# Misc
|
2023-10-10 19:04:12 +08:00
|
|
|
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; };
|
|
|
|
}
|