Changed: Neovim Conf

This commit is contained in:
DerGrumpf 2025-03-26 14:00:20 +01:00
parent 04e98c48d1
commit 0331d55c34
3 changed files with 19 additions and 27 deletions

View File

@ -1,26 +0,0 @@
{
pkgs,
config,
inputs,
...
}: {
programs.nvchad = {
enable = true;
neovim = pkgs.neovim;
extraPackages = with pkgs; [
nodePackages.bash-language-server
docker-compose-language-service
dockerfile-language-server-nodejs
emmet-language-server
nixd
(python3.withPackages(ps: with ps; [
python-lsp-server
flake8
]))
];
hm-activation = true;
backup = true;
};
environment.variables.EDITOR = "nvim";
}

19
home/programs/neovim.nix Normal file
View File

@ -0,0 +1,19 @@
{
pkgs,
config,
...
}: {
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
plugins = with pkgs.vimPlugins; [
nvim-tree-lua
nvim-treesitter
nvim-treesitter.withAllGrammars
];
};
}

View File

@ -10,7 +10,6 @@
../../home/hyprland
../../home/programs
../../home/neovim
];
programs.git = {