From 81b915506f1fe4bbe2050d144e18796dc5354c7c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 12 Jul 2021 01:10:07 +0000 Subject: [PATCH] [NixOS] Add python to essential --- nixos/essential.nix | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/nixos/essential.nix b/nixos/essential.nix index 5c28864f..e6c96a79 100644 --- a/nixos/essential.nix +++ b/nixos/essential.nix @@ -1,6 +1,23 @@ { pkgs, ... }: +let + my-python-packages = python-packages: with python-packages; [ + appdirs + ipdb + ipython + numpy + openpyxl + pip + requests + tox + virtualenv + virtualenvwrapper + ]; + python-with-my-packages = pkgs.python3.withPackages my-python-packages; +in { environment.systemPackages = with pkgs; [ + python-with-my-packages + emacs firefox vlc @@ -53,7 +70,7 @@ # Tools binutils - direnv + # direnv gitFull rcm ripgrep