nixos/home/prog/default.nix

42 lines
659 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
nodePackages.pyright
ruff
mypy
# 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
];
}