If you want to achieve the same thing on NixOS, reverse engineer their script (should not be too hard, just figure out what packages and configuration they’re installing and why) and do the equivalent of those steps in a NixOS module. It’d be really cool if you could then contribute that to nixos-hardware.
That script will not work under NixOS, it tries to install stuff with apt and whatnot, so you’re on your own. Repeating what it does in a NixOS configuration is definitely possible, however.