Evie Litherland-Smith
456b9a475c
Change jupyterlab/default.nix to just return a package set which is then integrated with other python packages in default.nix
40 lines
946 B
Nix
40 lines
946 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]
|
|
++ (ps.callPackage ./jupyter/default.nix {})))
|
|
ruff
|
|
|
|
# JavaScript / TypeScript
|
|
nodejs
|
|
nodePackages.typescript-language-server
|
|
nodePackages.eslint
|
|
];
|
|
}
|