Evie Litherland-Smith
0667438150
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.
35 lines
715 B
Nix
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
|
|
];
|
|
}
|