Evie Litherland-Smith
872c0b099c
Make python/default.nix and lua/default.nix to replace prog/default.nix for each respective language's packages Move dev tools from prog into emacs/default.nix since that's what they're relevant for. Add some extra useful python packages (numpy, scipy, xarray, matplotlib) Add yamllint for YAML, associated flymake-yamllint for Emacs, remove flymake-eslint since I'm not using it Add lua-language-server and bash-language-server
21 lines
389 B
Nix
21 lines
389 B
Nix
{pkgs, ...}: {
|
|
xdg.configFile = {
|
|
"ruff/pyproject.toml".source = ./ruff.toml;
|
|
"pypoetry/config.toml".source = ./pypoetry.toml;
|
|
};
|
|
home.packages = with pkgs; [
|
|
poetry
|
|
(python3.withPackages
|
|
(ps:
|
|
with ps; [
|
|
python-lsp-server
|
|
flake8
|
|
mypy
|
|
numpy
|
|
scipy
|
|
xarray
|
|
matplotlib
|
|
]))
|
|
];
|
|
}
|