2023-10-08 14:57:57 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
nil
|
|
|
|
nodePackages.pyright
|
|
|
|
neofetch
|
|
|
|
gopls
|
2023-10-13 08:08:32 +00:00
|
|
|
terraform-ls
|
2023-10-08 14:57:57 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
vimdiffAlias = true;
|
|
|
|
defaultEditor = true;
|
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
|
|
nvim-lspconfig
|
|
|
|
gruvbox-nvim
|
|
|
|
leap-nvim
|
|
|
|
telescope-nvim
|
|
|
|
vim-commentary
|
|
|
|
vim-sleuth
|
|
|
|
gitsigns-nvim
|
|
|
|
nvim-cmp
|
|
|
|
cmp-nvim-lsp
|
|
|
|
friendly-snippets
|
|
|
|
neodev-nvim
|
|
|
|
];
|
|
|
|
extraLuaConfig = builtins.readFile ./neovim.lua;
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.git.extraConfig.core.editor = "nvim";
|
|
|
|
};
|
|
|
|
}
|