2.home-manager/docs
Peter Bittner c51ac59e59 uv: manage Python versions and tools
Add programs.uv.python.{versions,default,prune} and
programs.uv.tool.{packages,prune} to install uv-managed Python versions
and tools during activation.

Install requests are passed verbatim to uv. Unpinned entries track the
latest release on each activation while pinned ones stay put: Python
requests without a patch component are installed with `uv python install
--upgrade` (exact patches, which uv refuses to upgrade, get a plain
install), and tools are refreshed with `uv tool upgrade <packages>`
scoped to the configured list. Both upgrades are scoped to the managed
entries, so installs Home Manager does not own are left untouched. prune
makes a set declarative by running `uv ... uninstall --all` before
reinstalling the listed entries.

The activation blocks run after linkGeneration so uv sees the freshly
linked uv.toml, and a null programs.uv.package is rejected once the
module emits activation commands.
2026-06-17 15:47:24 -05:00
..
manual docs: add release notes contributing guidance 2026-06-11 09:05:37 -05:00
release-notes uv: manage Python versions and tools 2026-06-17 15:47:24 -05:00
static docs: add anchor link icons to headers 2026-02-22 09:48:42 +01:00
default.nix treewide: use inherit for attribute assignments 2026-04-08 14:47:48 -05:00
flake.lock flake: track nixpkgs-unstable 2026-05-29 19:01:27 -05:00
flake.nix flake: track nixpkgs-unstable 2026-05-29 19:01:27 -05:00
home-configuration-nix-footer.5 docs: use nixos-render-docs 2023-12-07 21:28:16 +09:00
home-configuration-nix-header.5 docs: extend home-configuration.nix header 2023-12-07 21:28:18 +09:00
home-manager-manual.nix docs: add anchor link icons to headers 2026-02-22 09:48:42 +01:00
home-manager.1 home-manager: update copyright year in man page 2026-01-10 18:16:55 +01:00
html-open-tool.nix treewide: reformat nixfmt-rfc-style 2025-04-08 08:50:05 -07:00
options.html docs: add redirect from the previous options.html 2024-06-09 13:09:00 +02:00