dustinlyons / nixos-config

General purpose Nix configuration for macOS / NixOS with starter templates + step-by-step guides ✨
BSD 3-Clause "New" or "Revised" License
1.79k stars 113 forks source link

Add support for x86_64-darwin (Intel Macs) #49

Closed dustinlyons closed 9 months ago

dustinlyons commented 9 months ago

This is a draft PR for others to contribute and test if this platform is desired. Unfortunately, I don't have an Intel Mac to test.

I've just added the new system type to the flake and scripts based on aarch64 Macs, so this should technically run but will likely have errors. Once the differences between aarch64 and x86_64 are determined, we can likely keep one set of scripts with a set of conditions that are used by both instead of this blind copy.

Looking for others to test and contribute changes/feedback. I don't have much time to work on this directly myself, but I can provide guidance and make edits to the code based on error feedback.

dustinlyons commented 9 months ago

@execat @freitagdavid

execat commented 9 months ago

This is a good effort. I will run this over the weekend and get back.

Thanks for this 🙇

dustinlyons commented 9 months ago

Thanks to @jspiers it appears this is all working now. Going to merge for others to give it a try and report any feedback.