I have a Dell XPS 15 at work and it's so difficult to install and setup Linux between the M2 SSD drive and the Nvidia Optimus GPU. Would not recommend.
A couple weeks ago I did a fresh install with Manjaro. With this the installation process goes down to around 10 minutes and everything (bluetooth, touchpad, function keys, optirun etc.) works out of the box.
What sort of issues did you have?