2024-02-09 08:42:38 +00:00
|
|
|
{pkgs, ...}: {
|
2024-03-28 07:30:50 +00:00
|
|
|
xdg.configFile = {
|
|
|
|
"ruff/pyproject.toml".source = ./ruff.toml;
|
|
|
|
"pypoetry/config.toml".source = ./pypoetry.toml;
|
|
|
|
"ipython/profile_default/ipython_config.json".source = ./ipython_config.json;
|
2024-04-10 11:58:23 +01:00
|
|
|
"jupyter/jupyter_server_config.py".source = ./jupyter_server_config.py;
|
|
|
|
"jupyter/jupyter_nbconvert_config.py".source = ./jupyter_nbconvert_config.py;
|
2024-03-28 07:30:50 +00:00
|
|
|
};
|
2024-02-09 08:42:38 +00:00
|
|
|
home.packages = with pkgs; [
|
|
|
|
# Nix
|
2024-02-21 06:42:18 +00:00
|
|
|
nil
|
2024-03-19 10:40:56 +00:00
|
|
|
alejandra
|
2024-02-09 08:42:38 +00:00
|
|
|
|
2024-03-27 14:52:02 +00:00
|
|
|
# Shell
|
|
|
|
shfmt
|
|
|
|
shellcheck
|
2024-04-02 17:27:56 +01:00
|
|
|
nodePackages.prettier
|
2024-03-27 14:52:02 +00:00
|
|
|
|
2024-03-18 21:09:37 +00:00
|
|
|
# Lua
|
2024-04-02 17:27:56 +01:00
|
|
|
(luajit.withPackages
|
|
|
|
(ps: [(ps.callPackage ./luarocks/scilua.nix {})]))
|
2024-03-19 13:17:22 +00:00
|
|
|
luarocks-nix
|
2024-03-18 21:09:37 +00:00
|
|
|
lua-language-server
|
|
|
|
stylua
|
|
|
|
|
2024-02-09 08:42:38 +00:00
|
|
|
# Python
|
2024-04-02 17:27:56 +01:00
|
|
|
(python3.withPackages
|
2024-04-10 11:58:23 +01:00
|
|
|
(ps:
|
|
|
|
with ps;
|
|
|
|
[python-lsp-server mypy isort]
|
|
|
|
++ (ps.callPackage ./jupyter/default.nix {})))
|
2024-03-27 14:52:02 +00:00
|
|
|
ruff
|
|
|
|
|
2024-04-02 17:27:56 +01:00
|
|
|
# JavaScript / TypeScript
|
|
|
|
nodejs
|
|
|
|
nodePackages.typescript-language-server
|
|
|
|
nodePackages.eslint
|
2024-02-09 08:42:38 +00:00
|
|
|
];
|
|
|
|
}
|