49 lines
849 B
Nix
49 lines
849 B
Nix
{pkgs, ...}: {
|
|
xdg.configFile."ruff/pyproject.toml".source = ./ruff.toml;
|
|
home.packages = with pkgs; [
|
|
# Nix
|
|
nil
|
|
alejandra
|
|
|
|
# Lua
|
|
(luajit.withPackages (ps: [(ps.callPackage ./luarocks/scilua.nix {})]))
|
|
luarocks-nix
|
|
lua-language-server
|
|
stylua
|
|
|
|
# Python
|
|
(python3.withPackages
|
|
(ps:
|
|
with ps; [
|
|
python-lsp-server
|
|
isort
|
|
mypy
|
|
jupyterlab
|
|
jupyterlab-git
|
|
(callPackage ./catppuccin_jupyterlab/default.nix {})
|
|
]))
|
|
ruff
|
|
|
|
# Fortran
|
|
gfortran
|
|
fortls
|
|
|
|
# Rust toolchain
|
|
rustc
|
|
rust-analyzer
|
|
cargo
|
|
rustfmt
|
|
clippy
|
|
|
|
# JavaScript / TypeScript
|
|
nodejs
|
|
nodePackages.typescript-language-server
|
|
nodePackages.eslint
|
|
|
|
# Shell and misc
|
|
shfmt
|
|
shellcheck
|
|
nodePackages.prettier
|
|
];
|
|
}
|