Is there a way to build NixOS so that it would run off a USB drive on a Blackberry?

According to the Raspberry Pi website, I can get Raspbian to boot off a USB hard drive by using echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt. Is there a way to get nixos to boot off a USB drive? In raspbian, I can dd the original image to the USB drive without a problem, would I be able to do that in nixos?