seperate out python
This commit is contained in:
parent
505fc302c8
commit
8474adec6b
2 changed files with 20 additions and 13 deletions
17
common/python.nix
Normal file
17
common/python.nix
Normal 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
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -10,6 +10,7 @@
|
||||||
../../common/fonts.nix
|
../../common/fonts.nix
|
||||||
../../common/nix-settings.nix
|
../../common/nix-settings.nix
|
||||||
../../common/i18n.nix
|
../../common/i18n.nix
|
||||||
|
../../common/python.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
@ -69,6 +70,8 @@
|
||||||
blender
|
blender
|
||||||
gimp
|
gimp
|
||||||
kitty
|
kitty
|
||||||
|
obs-studio
|
||||||
|
audacity
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -85,8 +88,6 @@
|
||||||
true; # Open ports in the firewall for Steam Local Network Game Transfers
|
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; [
|
environment.systemPackages = with pkgs; [
|
||||||
vim
|
vim
|
||||||
wget
|
wget
|
||||||
|
|
@ -102,18 +103,7 @@
|
||||||
tlrc
|
tlrc
|
||||||
wakeonlan
|
wakeonlan
|
||||||
neovim
|
neovim
|
||||||
(pkgs.python312.withPackages (ppkgs: [
|
|
||||||
python312Packages.torch
|
|
||||||
python312Packages.ipython
|
|
||||||
python312Packages.numpy
|
|
||||||
python312Packages.pandas
|
|
||||||
python312Packages.seaborn
|
|
||||||
python312Packages.matplotlib
|
|
||||||
]))
|
|
||||||
# fcitx5-mosc
|
|
||||||
pkgs-unstable.ani-cli
|
pkgs-unstable.ani-cli
|
||||||
obs-studio
|
|
||||||
audacity
|
|
||||||
btop
|
btop
|
||||||
pciutils
|
pciutils
|
||||||
nodePackages.npm
|
nodePackages.npm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue