The problem with the RAID setting is that it requires a special Intel Rapid Storage driver, which is
reportedly unavailable for Linux. You need to use AHCI instead, until the kernel provides that driver. If you want to continue using the Windows installation, you need to install the AHCI driver before changing the mode to AHCI, otherwise, the installation cannot start anymore. Additionally, if you intend to access the Windows partitions, you also need to disable Hyperboot.
To my knowledge, it is suggested to use software-based RAID anyway, since hardware-based RAID can prevent the drives from being read if no compatible RAID controller is available, or even if the specific controller used to configure the RAID is not available or functional anymore, since it may contain information about the layout of the data on the disks.
The M.2 SSD should be available as /dev/nvme0n1.