Using a simple python script in NixOS as systemd service without packaging it

l33tname asked me what the "correct" way is to start a small python script as a systemd service under NixOS. The script comes with a small set of standard dependencies which of course are not available with the standard python interpreter Well it turns out there are a couple of …