nixos/home/prog/default.nix

49 lines
849 B
Nix
Raw Normal View History

{pkgs, ...}: {
2024-03-22 14:43:17 +00:00
xdg.configFile."ruff/pyproject.toml".source = ./ruff.toml;
home.packages = with pkgs; [
# Nix
nil
alejandra
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
(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
2024-02-16 17:11:01 +00:00
clippy
# JavaScript / TypeScript
nodejs
nodePackages.typescript-language-server
nodePackages.eslint
# Shell and misc
shfmt
shellcheck
nodePackages.prettier
];
}