How to use linux-firmware?

I am building nixos sd image. On my device, driver uses ath0 firmware from linux-firmware. What configuration should I use so that only ath10 firmware is copied to my nixos image?