From 467b6f644595cf724cce162377ae0d11ddd3c27c Mon Sep 17 00:00:00 2001 From: David Crompton Date: Thu, 17 Aug 2023 10:37:59 -0400 Subject: [PATCH] Add Python to System --- machines/kcnhub/packages.nix | 1 + machines/kcnhub/packages/python.nix | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 machines/kcnhub/packages/python.nix diff --git a/machines/kcnhub/packages.nix b/machines/kcnhub/packages.nix index 7f809de..9b3ed53 100644 --- a/machines/kcnhub/packages.nix +++ b/machines/kcnhub/packages.nix @@ -2,6 +2,7 @@ imports = [ ./packages/office.nix ./packages/terminal.nix + ./packages/python.nix ./packages/matlab.nix ./packages/containers.nix ./packages/deeplabcut.nix diff --git a/machines/kcnhub/packages/python.nix b/machines/kcnhub/packages/python.nix new file mode 100644 index 0000000..60cbaef --- /dev/null +++ b/machines/kcnhub/packages/python.nix @@ -0,0 +1,12 @@ +{config, lib, pkgs, ...}: { + environment.systemPackages = with pkgs; [ + (pkgs.python3.withPackages (p: with p; [ + numpy + scipy + pandas + matplotlib + tqdm + seaborn + ])) + ]; +}