It is 2025 2026 and DietPi is based on Buster Bookworm Trixie with kernel 4.x 6.x.
Some modifications were necessary on the latest NanoHatOLED github repository which is already based on Python3.8.
I have removed everything not related to the NanoHatOLED and merged all the modifications from @maarten and @Fatguy5150 described in this forum.
- DietPi or PiHole Logo on boot
- 30 Seconds sleep to avoid OLED Burn-in
- Start-up script on
var/lib/dietpi/postboot.d/ - Latest PiHole 6.x API integration (api.php has been removed)
How-to is found here