0
0
Fork 0
flake/home/modules/cli/neovim.nix

49 lines
728 B
Nix
Raw Normal View History

2025-01-03 01:26:51 +00:00
{
pkgs,
inputs,
...
}: {
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
withNodeJs = true;
withPython3 = true;
withRuby = true;
extraPackages = with pkgs; [
# Compilers
gcc
go
dotnet-sdk
# Rust
rustc
cargo
# Nix
nixd
inputs.alejandra.defaultPackage.${pkgs.system}
deadnix
statix
# Utils
unzip
gnumake
fd
tree-sitter
wget
imagemagick
];
2025-01-03 01:26:51 +00:00
extraPython3Packages = pyPkgs:
with pyPkgs; [
pip
];
extraLuaPackages = luaPkgs:
with luaPkgs; [
magick
];
};
}