1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Add python

This commit is contained in:
Stefan Ellmauthaler 2022-03-28 09:52:18 +02:00
parent 82e03f107d
commit ad778037d8
Signed by: ellmau
GPG Key ID: C804A9C1B7AF8256
2 changed files with 14 additions and 0 deletions

View File

@ -4,5 +4,6 @@
./aspell.nix
./emacs
./obs-studio.nix
./python.nix
];
}

13
programs/python.nix Normal file
View File

@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
with pkgs;
let
my-python-packages = python-packages: with python-packages; [
pandas
requests
# other python packages you want
];
python-with-my-packages = python3.withPackages my-python-packages;
in
{
environment.systemPackages = [ python-with-my-packages ];
}