should be good fr
This commit is contained in:
parent
7dc29b09c7
commit
62ad32fa11
2 changed files with 8 additions and 4 deletions
|
|
@ -5,6 +5,12 @@
|
||||||
}: let
|
}: let
|
||||||
customPkgs = import ../pkgs {inherit pkgs lib;};
|
customPkgs = import ../pkgs {inherit pkgs lib;};
|
||||||
in {
|
in {
|
||||||
|
imports = [
|
||||||
|
../modules/python.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
python.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
brave # TODO: make a module to save browser stuff
|
brave # TODO: make a module to save browser stuff
|
||||||
vesktop
|
vesktop
|
||||||
|
|
@ -88,7 +94,6 @@ in {
|
||||||
nodePackages.pnpm
|
nodePackages.pnpm
|
||||||
zlib.dev
|
zlib.dev
|
||||||
udiskie
|
udiskie
|
||||||
|
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
clang-tools
|
clang-tools
|
||||||
vscode-langservers-extracted
|
vscode-langservers-extracted
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,8 @@
|
||||||
'';
|
'';
|
||||||
pythonEnv = pkgs.python311.buildEnv.override {
|
pythonEnv = pkgs.python311.buildEnv.override {
|
||||||
extraLibs = with py; [
|
extraLibs = with py; [
|
||||||
customPkgs.python-pymatting
|
|
||||||
customPkgs.python-opencv-headless
|
|
||||||
customPkgs.python-rembg
|
customPkgs.python-rembg
|
||||||
customPkgs.pythonPackages.numpy # should force the monkeypatch'd numpy
|
numpy
|
||||||
i3ipc
|
i3ipc
|
||||||
pandas
|
pandas
|
||||||
matplotlib
|
matplotlib
|
||||||
|
|
@ -49,6 +47,7 @@ in {
|
||||||
isort
|
isort
|
||||||
uv
|
uv
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
|
python311
|
||||||
];
|
];
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
PIP_PREFIX = "$HOME/.local";
|
PIP_PREFIX = "$HOME/.local";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue