37 lines
881 B
Nix
37 lines
881 B
Nix
{pkgs, ...}: {
|
|
xdg.configFile = {
|
|
"ruff/pyproject.toml".source = ./ruff.toml;
|
|
"pypoetry/config.toml".source = ./pypoetry.toml;
|
|
"ipython/profile_default/ipython_config.json".source = ./ipython_config.json;
|
|
"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 mypy isort ipython]))
|
|
ruff
|
|
|
|
# JavaScript / TypeScript
|
|
nodejs
|
|
nodePackages.typescript-language-server
|
|
nodePackages.eslint
|
|
];
|
|
}
|