45 lines
803 B
Nix
45 lines
803 B
Nix
{pkgs, ...}: {
|
|
home.packages = with pkgs; [
|
|
git
|
|
curl
|
|
gnutar
|
|
gnumake
|
|
gnused
|
|
gcc
|
|
fzf
|
|
ripgrep
|
|
tree-sitter
|
|
];
|
|
programs.neovim = {
|
|
enable = true;
|
|
defaultEditor = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
vimdiffAlias = true;
|
|
withNodeJs = true;
|
|
withRuby = true;
|
|
withPython3 = true;
|
|
extraPackages = with pkgs; [
|
|
# Language servers
|
|
nil
|
|
lua-language-server
|
|
fortls
|
|
nodePackages.pyright
|
|
nodePackages.yaml-language-server
|
|
nodePackages.vim-language-server
|
|
nodePackages.bash-language-server
|
|
|
|
# Null LSP formatters
|
|
alejandra
|
|
beautysh
|
|
black
|
|
nodePackages.fixjson
|
|
fprettify
|
|
isort
|
|
python3Packages.mdformat
|
|
shellharden
|
|
stylua
|
|
];
|
|
};
|
|
}
|