Files
dotfiles/modules/features/dev/python.nix
T
2026-05-31 14:29:21 +09:00

24 lines
415 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 {
documentation.doc.enable = false;
environment.systemPackages = with pkgs; [
python312 # Python 3.12
uv # Universal Virtual Environment Manager For Python
];
};
}