xorg.conf reset on reboot ?

Hi,

i want to set

sudo nvidia-xconfig -s -a --enable-all-gpus --allow-empty-initial-configuration --cool-bits=12 --registry-dwords="PerfLevelSrc=0x2222" --no-sli --connected-monitor="DFP-0"

and reboot for apply changes but ubuntu reset the xorg.conf on startup.

Use kernel parameter
nogpumanager
But then you won’t be able to switch gpus if that’s an Optimus system.

Thanks a lot my friend !