I’ve just find a way to run Jupyter Notebook managed by Poetry in NixOS.
Create the environment package first with mkPoetryEnv and then send it to buildFHSUserEnv.
Here is what I do:
The two pieces of code are borrowed from other people (one from this forum and and another from the poetry2nix documentation) with a few modifications, as I’m also a newbie here.
BTW, it seems better to categorize this topic as Help instead of howto.