Ayo the pizza here (restructuring)

This commit is contained in:
2021-07-21 22:32:32 +05:30
parent 7dffa41ae2
commit 347c8bd00c
41 changed files with 86 additions and 126 deletions

38
modules/nvim/default.nix Normal file
View File

@@ -0,0 +1,38 @@
{config, pkgs, ...}:
{
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped.overrideAttrs (_:{
nativeBuildInputs = with pkgs.unstable; [ unzip cmake pkgconfig gettext tree-sitter ];
});
defaultEditor = true;
configure = {
customRC = ''
lua << EOF
${builtins.readFile ./init.lua}
EOF
'';
packages.myVimPackage = with pkgs.unstable.vimPlugins; {
start = [
nvim-colorizer-lua
auto-pairs
vim-floaterm
vim-closetag
vim-floaterm
nerdcommenter
nvim-compe
nvim-lspconfig
barbar-nvim
presence-nvim
nvim-web-devicons
nvim-tree-lua
vim-vsnip
nvim-treesitter
vim-nix
(gruvbox.overrideAttrs (oa: { patches = [ ./gruvbox.patch ]; }))
];
};
};
};
}