nixos/home/prog/default.nix
Evie Litherland-Smith a21ebf586b Add ruff back (to prog and emacs packages)
Cleanup some other emacs packages I'm not using anymore, add
python-docstring and htmlize packages
2024-04-26 10:49:47 +01:00

37 lines
806 B
Nix

{pkgs, ...}: {
xdg.configFile = {
"ruff/pyproject.toml".source = ./ruff.toml;
"pypoetry/config.toml".source = ./pypoetry.toml;
"jupyter/jupyter_server_config.py".source = ./jupyter_server_config.py;
"jupyter/jupyter_nbconvert_config.py".source = ./jupyter_nbconvert_config.py;
};
home.packages = with pkgs; [
# Nix
nil
alejandra
# Shell
shfmt
shellcheck
nodePackages.prettier
# Lua
(luajit.withPackages
(ps: [(ps.callPackage ./luarocks/scilua.nix {})]))
luarocks-nix
lua-language-server
stylua
# Python
(python3.withPackages
(ps: with ps; [python-lsp-server pylsp-rope mypy]))
isort
ruff
# JavaScript / TypeScript
nodejs
nodePackages.typescript-language-server
nodePackages.eslint
];
}