modules: add python options to specify the python environment

This commit is contained in:
Gaetan Lepage 2024-01-06 17:13:45 +01:00 committed by Gaétan Lepage
parent 96cdbc8177
commit 1ab5159acf
3 changed files with 36 additions and 0 deletions

View file

@ -1,6 +1,16 @@
{pkgs, ...}: {
plain = {};
python-packages = {
python = {
package = pkgs.python3;
extraPythonPackages = p:
with p; [
numpy
];
};
};
simple-plugin = {
extraPlugins = [pkgs.vimPlugins.vim-surround];
};