Struggling to use Python properly on NixOS is one of the most common pitfalls for newcomers. As a pythonista myself, I have been through all the pain and can now share my learnings.
The blog post describes the motivation for my recent contribution to Home Manager that is meant to help pythonistas love NixOS without having to sacrifice their love for Python. HM’s programs.uv gets a python and a tool option to manage Python the pythonic way, declaratively.
Pythonistas can now combine the famous Python freedom with the advantages of using a distribution with built-in configuration management. The article ends with a motivational outlook for pythonistas to become NixOS fanboys over time, without having to go through countless valleys of tears.