nixos/home/prog/default.nix
Evie Litherland-Smith 0667438150 Add back scripting languages commonly used
Restore python (with pylsp) and JS, remove gfortran from default
installed programming languages. Figured I would want scripting
languages on the fly but compiled languages will be focussed on a
project, so no issue having a nix-shell env.
2024-04-02 17:27:56 +01:00

35 lines
715 B
Nix

{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;
};
home.packages = with pkgs; [
# Nix
nil
alejandra
# Shell
shfmt
shellcheck
nodePackages.prettier
# 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 isort]))
ruff
# JavaScript / TypeScript
nodejs
nodePackages.typescript-language-server
nodePackages.eslint
];
}