Hardware/Apple
From NixOS Wiki
Identifying your computer
$ cat /sys/devices/virtual/dmi/id/product_{family,name}
MacBook
MacBook2,1
The last line is the 'version field; the key to your 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.