zaneyos/modules/home/python.nix
Don Williams d6252d294c Added python3 and variable for pythonDev pkgs
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
2025-12-12 08:52:27 -05:00

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";
};
}