Hardware/Apple
From NixOS Wiki
Identifying your computer
$ sudo nix-shell -p dmidecode --run dmidecode | grep -i macbook
Product Name: MacBookAir3,1
Family: MacBook
The Version field is your key to success, this will allow you to identify with great accuracy the hardware. Fixes for other versions may apply too, but the greater the gap between revisions, the less likely it is to work.