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
];
}

View file

@ -10,6 +10,7 @@
../../common/fonts.nix
../../common/nix-settings.nix
../../common/i18n.nix
../../common/python.nix
];
# Bootloader.
@ -69,6 +70,8 @@
blender
gimp
kitty
obs-studio
audacity
];
};
@ -85,8 +88,6 @@
true; # Open ports in the firewall for Steam Local Network Game Transfers
};
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
vim
wget
@ -102,18 +103,7 @@
tlrc
wakeonlan
neovim
(pkgs.python312.withPackages (ppkgs: [
python312Packages.torch
python312Packages.ipython
python312Packages.numpy
python312Packages.pandas
python312Packages.seaborn
python312Packages.matplotlib
]))
# fcitx5-mosc
pkgs-unstable.ani-cli
obs-studio
audacity
btop
pciutils
nodePackages.npm