NixOS stable won't boot from usb on XPS 7390

I managed to boot and install it with nixos-unstable and linuxPackages_latest (kernel 5.4) on a brand new XPS 7390 laptop. You can use this expression (with nixpkgs, master branch) to create an ISO image with the latest kernel:

{ nixpkgs ? ../nixpkgs, system ? "x86_64-linux" } :

let
  config = { pkgs, ... } :
  {
    imports = [
      "${nixpkgs}/nixos//modules/installer/cd-dvd/installation-cd-graphical-kde.nix"
    ];

    boot.kernelPackages = pkgs.linuxPackages_latest;
  };

  evalNixos = configuration: import "${nixpkgs}/nixos" {
    inherit system configuration;
  };

in {
  iso = (evalNixos config).config.system.build.isoImage;
}