From 79872ec7cb3367edd42e021133d1afc34d3919a1 Mon Sep 17 00:00:00 2001 From: Alyxia Sother Date: Mon, 25 Sep 2023 13:46:29 +0200 Subject: [PATCH] [nix] Add Python packages --- nix/hosts/alymac/default.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nix/hosts/alymac/default.nix b/nix/hosts/alymac/default.nix index 07a22ea..fdd37e7 100644 --- a/nix/hosts/alymac/default.nix +++ b/nix/hosts/alymac/default.nix @@ -57,6 +57,7 @@ let jdk nil nodejs_20 + python2 ruby_3_1 sbcl shards @@ -77,7 +78,13 @@ let 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 {{{ @@ -140,6 +147,9 @@ in # Absolutely proprietary. nixpkgs.config.allowUnfree = true; + nixpkgs.config.permittedInsecurePackages = [ + "python-2.7.18.6" + ]; # Make sure the nix daemon always runs services.nix-daemon.enable = true;