2023-05-17 17:07:13 +01:00
|
|
|
{pkgs, ...}: {
|
2023-06-10 08:30:50 +01:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
git
|
|
|
|
curl
|
|
|
|
gnutar
|
|
|
|
gnumake
|
|
|
|
gnused
|
|
|
|
gcc
|
|
|
|
fzf
|
|
|
|
ripgrep
|
|
|
|
tree-sitter
|
|
|
|
];
|
2023-04-03 11:54:22 +01:00
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
2023-04-04 09:28:27 +01:00
|
|
|
defaultEditor = true;
|
2023-04-03 11:54:22 +01:00
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
vimdiffAlias = true;
|
|
|
|
withNodeJs = true;
|
2023-04-04 09:28:27 +01:00
|
|
|
withRuby = true;
|
2023-04-03 11:54:22 +01:00
|
|
|
withPython3 = true;
|
2023-06-14 16:09:21 +01:00
|
|
|
extraPython3Packages = ps: with ps; [
|
|
|
|
# For Magma-nvim
|
|
|
|
jupyter_client
|
|
|
|
ueberzug
|
|
|
|
pillow
|
|
|
|
cairosvg
|
|
|
|
pnglatex
|
|
|
|
plotly
|
|
|
|
];
|
2023-04-04 09:28:27 +01:00
|
|
|
extraPackages = with pkgs; [
|
2023-05-17 11:42:45 +01:00
|
|
|
# Language servers
|
2023-06-14 16:09:21 +01:00
|
|
|
python3Packages.python-lsp-server
|
2023-06-14 16:17:26 +01:00
|
|
|
python3Packages.jedi-language-server
|
2023-05-17 11:42:45 +01:00
|
|
|
python3Packages.ruff-lsp
|
2023-04-04 09:28:27 +01:00
|
|
|
nil
|
2023-05-17 11:42:45 +01:00
|
|
|
lua-language-server
|
|
|
|
fortls
|
2023-06-14 16:09:21 +01:00
|
|
|
# nodePackages.pyright
|
2023-05-17 11:42:45 +01:00
|
|
|
nodePackages.yaml-language-server
|
|
|
|
nodePackages.vim-language-server
|
|
|
|
nodePackages.bash-language-server
|
2023-04-05 15:42:50 +01:00
|
|
|
|
2023-05-17 11:42:45 +01:00
|
|
|
# Null LSP formatters
|
2023-05-17 17:07:13 +01:00
|
|
|
alejandra
|
|
|
|
beautysh
|
2023-05-17 11:42:45 +01:00
|
|
|
black
|
2023-06-12 12:07:21 +01:00
|
|
|
nodePackages.cspell
|
2023-05-17 17:07:13 +01:00
|
|
|
nodePackages.fixjson
|
|
|
|
fprettify
|
2023-05-17 11:42:45 +01:00
|
|
|
isort
|
2023-05-17 17:07:13 +01:00
|
|
|
python3Packages.mdformat
|
|
|
|
shellharden
|
|
|
|
stylua
|
2023-04-04 09:28:27 +01:00
|
|
|
];
|
2023-04-03 11:54:22 +01:00
|
|
|
};
|
2023-03-28 09:01:52 +01:00
|
|
|
}
|