blob: 56eadb35a14401c22aa7334476cf587e85af0330 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{
config,
pkgs,
lib,
userOptions,
...
}:
let
pythonVersion = lib.replaceStrings [ "." ] [ "" ] userOptions.pythonVersion;
python = pkgs."python${pythonVersion}";
pythonPackages = pkgs."python${pythonVersion}Packages";
in
{
home.packages = with pkgs; [
python
pipenv
pythonPackages.virtualenv
pythonPackages.uv
];
programs.pyenv = {
enable = true;
enableZshIntegration = true;
};
}
|