diff options
author | Julian T <julian@jtle.dk> | 2021-04-11 15:51:15 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-04-11 15:51:15 +0200 |
commit | fd3e694bd327b2ebd55c6bba40f009945726c91f (patch) | |
tree | 299ce8fe08e329ee867428e730450fb64dff7c8a /nixhome/.config/nixpkgs/overlays/pythonEnv.nix | |
parent | 7263eaadd5262f6e1b222e2c862fe8cf2b2f24f7 (diff) |
Move packages from system wide nix config to home-manager and overlay
Diffstat (limited to 'nixhome/.config/nixpkgs/overlays/pythonEnv.nix')
-rw-r--r-- | nixhome/.config/nixpkgs/overlays/pythonEnv.nix | 15 |
1 files changed, 15 insertions, 0 deletions
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 + ] + )) + ]; + }; + } |