nixos/home/emacs/python/default.nix

18 lines
329 B
Nix
Raw Normal View History

{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; [
numpy
scipy
xarray
matplotlib
]))
];
}