hosts: rearrange modules a bit
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
49
hosts/nvim/default.nix
Normal file
49
hosts/nvim/default.nix
Normal file
@@ -0,0 +1,49 @@
|
||||
{ inputs, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
package = inputs.nvim-overlay.packages.${pkgs.system}.neovim;
|
||||
defaultEditor = false;
|
||||
configure = {
|
||||
customRC = ''
|
||||
lua << EOF
|
||||
${builtins.readFile ./init.lua}
|
||||
EOF
|
||||
'';
|
||||
packages.myVimPackage = with pkgs.vimPlugins; {
|
||||
start = [
|
||||
nvim-colorizer-lua
|
||||
bracey-vim
|
||||
auto-pairs
|
||||
vim-floaterm
|
||||
vim-closetag
|
||||
nerdcommenter
|
||||
nvim-cmp
|
||||
luasnip
|
||||
friendly-snippets
|
||||
cmp_luasnip
|
||||
cmp-nvim-lsp
|
||||
cmp-path
|
||||
cmp-calc
|
||||
cmp-emoji
|
||||
# cmp-look
|
||||
cmp-buffer
|
||||
nvim-lspconfig
|
||||
barbar-nvim
|
||||
presence-nvim
|
||||
nvim-web-devicons
|
||||
nvim-tree-lua
|
||||
nvim-treesitter
|
||||
vim-latex-live-preview
|
||||
lspkind-nvim
|
||||
catppuccin-nvim
|
||||
yuck-vim
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user