On branch main Your branch is up to date with 'origin/main'. Changes to be committed: modified: hosts/default/variables.nix modified: hosts/nixstation/variables.nix modified: hosts/zaneyos-24-vm/variables.nix modified: hosts/zaneyos-oem/variables.nix modified: modules/core/packages.nix modified: modules/home/default.nix new file: modules/home/python.nix
21 lines
No EOL
564 B
Nix
21 lines
No EOL
564 B
Nix
{pkgs, ...}: {
|
|
home.packages = with pkgs; [
|
|
python3Packages.pip # Python package installer
|
|
python3Packages.virtualenv # Virtual environment tool
|
|
python3Packages.setuptools # Package development library
|
|
python3Packages.black # Code formatter
|
|
python3Packages.flake8 # Linting tool
|
|
python3Packages.mypy # Type checking
|
|
];
|
|
|
|
# Add pip configuration
|
|
home.file.".config/pip/pip.conf".text = ''
|
|
[global]
|
|
user = true
|
|
'';
|
|
|
|
# Set environment variables for Python development
|
|
home.sessionVariables = {
|
|
PIP_USER = "1";
|
|
};
|
|
} |