[nix] Add Python packages

This commit is contained in:
Alyxia Sother 2023-09-25 13:46:29 +02:00
parent 992f650bc8
commit 79872ec7cb
No known key found for this signature in database
GPG Key ID: 01E16C4E775A37E4
1 changed files with 11 additions and 1 deletions

View File

@ -57,6 +57,7 @@ let
jdk jdk
nil nil
nodejs_20 nodejs_20
python2
ruby_3_1 ruby_3_1
sbcl sbcl
shards shards
@ -77,7 +78,13 @@ let
nerdfonts nerdfonts
]; ];
everything = system ++ base ++ languages ++ programs ++ multimedia ++ fonts; python = with python311Packages; [
colorama
psutil
distro
];
everything = system ++ base ++ languages ++ programs ++ multimedia ++ fonts ++ python;
}; };
# Old solution kept for posterity {{{ # Old solution kept for posterity {{{
@ -140,6 +147,9 @@ in
# Absolutely proprietary. # Absolutely proprietary.
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nixpkgs.config.permittedInsecurePackages = [
"python-2.7.18.6"
];
# Make sure the nix daemon always runs # Make sure the nix daemon always runs
services.nix-daemon.enable = true; services.nix-daemon.enable = true;