Please note that developer settings are not a feature, but are for developer testing. To my understanding, they are not meant to be persistent after a reboot.
There are scripts you can use, which I won't be able to provide. Do your research. Be mindful when using developer settings.
Important notes: Experiment with caution. Developer options are intended for developers, and changing the wrong setting can cause unexpected behavior or instability. Research before changing: Always research a setting before changing it to understand its potential impact.