seperate out python

This commit is contained in:
Osman Faruk Bayram 2024-10-26 18:49:33 +03:00
parent 505fc302c8
commit 8474adec6b
2 changed files with 20 additions and 13 deletions

17
common/python.nix Normal file
View file

@ -0,0 +1,17 @@
{ pkgs, lib, config, ... }: {
environment.systemPackages = with pkgs; [
(pkgs.python312.withPackages (ppkgs: [
python312Packages.torch
python312Packages.ipython
python312Packages.numpy
python312Packages.pandas
python312Packages.seaborn
python312Packages.matplotlib
]))
pyenv
];
}