From d93435f6d1189f8a4f57bfb80c6d6f81987919c6 Mon Sep 17 00:00:00 2001 From: DerGrumpf Date: Sun, 6 Apr 2025 22:25:24 +0200 Subject: [PATCH] Added: Python --- hosts/hp15-n028sg/default.nix | 2 +- modules/python.nix | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 modules/python.nix diff --git a/hosts/hp15-n028sg/default.nix b/hosts/hp15-n028sg/default.nix index f00d507..675a136 100644 --- a/hosts/hp15-n028sg/default.nix +++ b/hosts/hp15-n028sg/default.nix @@ -19,7 +19,7 @@ ../../modules/regreet/regreet.nix ../../modules/plymouth.nix ../../modules/file_managers/spacefm.nix - + ../../modules/python.nix # Include the results of the hardware scan. ./hardware-configuration.nix ]; diff --git a/modules/python.nix b/modules/python.nix new file mode 100644 index 0000000..4d5aec9 --- /dev/null +++ b/modules/python.nix @@ -0,0 +1,13 @@ +{ pkgs, ...}: +{ + + environment.systemPackages = with pkgs; [ + (python3.withPackages (python-pkgs: with python-pkgs; [ + pandas + request + numpy + scipy + ])) + ]; + +}