From fd3e694bd327b2ebd55c6bba40f009945726c91f Mon Sep 17 00:00:00 2001 From: Julian T Date: Sun, 11 Apr 2021 15:51:15 +0200 Subject: Move packages from system wide nix config to home-manager and overlay --- nixhome/.config/nixpkgs/overlays/pythonEnv.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 nixhome/.config/nixpkgs/overlays/pythonEnv.nix (limited to 'nixhome/.config/nixpkgs/overlays/pythonEnv.nix') diff --git a/nixhome/.config/nixpkgs/overlays/pythonEnv.nix b/nixhome/.config/nixpkgs/overlays/pythonEnv.nix new file mode 100644 index 0000000..b60b455 --- /dev/null +++ b/nixhome/.config/nixpkgs/overlays/pythonEnv.nix @@ -0,0 +1,15 @@ +self: super: { + defaultPythonEnv = super.buildEnv { + name = "defaultPythonEnv"; + paths = [ + (self.python3.withPackages ( + ps: with ps; [ + ipython + + # Math stuff + numpy scipy matplotlib + ] + )) + ]; + }; + } -- cgit v1.2.3