zaneyos/config/system/python.nix
2024-02-09 22:24:01 -06:00

16 lines
315 B
Nix

{ pkgs, config, lib, ... }:
let
inherit (import ../../options.nix) python;
my-python-packages = ps: with ps; [
pandas
requests
];
in lib.mkIf (python == true) {
environment.systemPackages = with pkgs; [
jetbrains.pycharm-community-bin
(pkgs.python3.withPackages my-python-packages)
];
}