nixos/home/prog/default.nix

48 lines
833 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
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
];
}