You need to disable RAID and use AHCI instead as described here.
If your BIOS version is greater than or equal to 1.0.13, you may need to add
systemd.sleep.extraConfig = "SuspendState=freeze";
to your configuration.nix
if you cannot wake from "Sleep". See reference here.
Note that this device is supported by fwupd. To perform firmware upgrades just activate the service
services.fwupd.enable = true;
Then use fwupdmgr
to perform updates.