mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 02:18:12 +09:00
22 lines
376 B
Nix
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
|
|
];
|
|
};
|
|
}
|