Question about the nvidia x server settings in a hybrid intel/nvidia laptop

for my first question, i looked around a bit more and there multiple solutions that might work,some involve a xcorg file,other . ~/.xinitrc and .nvidia settings-rc.
i found a solution that i haven’t tried yet,but it seems the most trouble-free for my case:

for the second issue about the advanced settings not showing,i think it might have to do with the fact i have an optimus laptop:
“some switches missing in nvidia xserver settings in the Optimus case is normal”