Files
dotfiles/modules/features/dev/python.nix
T
2026-05-30 23:37:40 +09:00

22 lines
376 B
Nix

{
pkgs,
lib,
config,
...
}:
let
cfg = config.my.features.dev.python;
in
{
options.my.features.dev.python = {
enable = lib.mkEnableOption "Python development environment";
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
python312 # Python 3.12
uv # Universal Virtual Environment Manager For Python
];
};
}