Move most of Python to home-manager

This commit is contained in:
Greg Hellings
2022-09-16 11:04:22 -05:00
parent ca1907eae9
commit 206f84c4da
2 changed files with 21 additions and 9 deletions
+20
View File
@@ -4,6 +4,24 @@ let
guiImports = if gui then guiImports = if gui then
[ ./gui ] else []; [ ./gui ] else [];
myPackages = pypackages: with pypackages; [
pkgs.datadog-api-client
pkgs.xonsh-direnv
black
datadog
dateutil
flake8
ipython
pyyaml
responses
ruamel-yaml
tox
typing-extensions
virtualenv
];
myPython = pkgs.python3.withPackages myPackages;
in { in {
imports = [ imports = [
./modules ./modules
@@ -27,7 +45,9 @@ in {
git git
gnupatch gnupatch
hms hms
htop
libtheora libtheora
myPython
nano nano
tmux tmux
transcrypt transcrypt
+1 -9
View File
@@ -2,15 +2,7 @@
let let
myPackages = pypackages: with pypackages; [ myPackages = pypackages: with pypackages; [
pkgs.datadog-api-client
pkgs.xonsh-direnv pkgs.xonsh-direnv
datadog
dateutil
ipython
pyyaml
responses
ruamel-yaml
typing-extensions
virtualenv virtualenv
]; ];
@@ -29,10 +21,10 @@ in {
home-manager home-manager
htop htop
myPython myPython
nano
pwgen pwgen
transcrypt transcrypt
unzip unzip
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget wget
]; ];
} }