28 lines
525 B
Nix
28 lines
525 B
Nix
|
{ pkgs, config, lib, ... }:
|
||
|
let
|
||
|
cfg = config.grimmShared;
|
||
|
in
|
||
|
{
|
||
|
config = with cfg; lib.mkIf (enable && tooling.enable) {
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
python3
|
||
|
pypy3
|
||
|
] ++ lib.optionals cfg.graphical [
|
||
|
jetbrains.pycharm-community
|
||
|
];
|
||
|
|
||
|
programs.xonsh = {
|
||
|
enable = true;
|
||
|
package = pkgs.xonsh.override {
|
||
|
extraPackages = ps: with ps; [
|
||
|
requests
|
||
|
matplotlib
|
||
|
numpy
|
||
|
scipy
|
||
|
pygobject3
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|