nixos/home/prog/default.nix

37 lines
881 B
Nix
Raw Normal View History

{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
2024-03-18 21:09:37 +00:00
# Lua
(luajit.withPackages
(ps: [(ps.callPackage ./luarocks/scilua.nix {})]))
luarocks-nix
2024-03-18 21:09:37 +00:00
lua-language-server
stylua
# Python
(python3.withPackages
2024-04-23 17:28:52 +01:00
(ps: with ps; [python-lsp-server mypy isort ipython]))
ruff
# JavaScript / TypeScript
nodejs
nodePackages.typescript-language-server
nodePackages.eslint
];
}