NixOS on ARM/Apple Silicon Macs: Difference between revisions

imported>Tpwrules
No edit summary
Added instructions for re-enabling the Apple touchbar on Macbook Pros
 
(3 intermediate revisions by 2 users not shown)
Line 17: Line 17:
|}
|}
</div>
</div>
Apple Silicon Macs are supported in large part by the efforts of the [https://asahilinux.org/ Asahi Linux project]. All M1 Macs should be supported currently, except for Mac Studio.
Apple Silicon Macs are supported in large part by the efforts of the [https://asahilinux.org/ Asahi Linux project]. All [https://github.com/AsahiLinux/docs/wiki/M1-Series-Feature-Support M1 Macs] and most [https://github.com/AsahiLinux/docs/wiki/M2-Series-Feature-Support M2 Macs] are supported currently, with [https://github.com/AsahiLinux/docs/wiki/M3-Series-Feature-Support M3 Mac] support in progress.


== Status ==
== Status ==
Line 27: Line 27:
Apple's boot and security architecture is complex, but abstracting all that away into a standard UEFI environment is handled by the Asahi Linux installer and project. Those who want to learn more may want to read [https://github.com/AsahiLinux/docs/wiki/Introduction-to-Apple-Silicon Introduction to Apple Silicon].
Apple's boot and security architecture is complex, but abstracting all that away into a standard UEFI environment is handled by the Asahi Linux installer and project. Those who want to learn more may want to read [https://github.com/AsahiLinux/docs/wiki/Introduction-to-Apple-Silicon Introduction to Apple Silicon].


Currently, not enough hardware support is upstream for the official NixOS installer to work properly on Apple Silicon Macs. A [https://github.com/tpwrules/nixos-m1/blob/main/docs/uefi-standalone.md comprehensive guide] to using the Asahi Linux installer to install NixOS with a customized NixOS ISO is available.
Currently, not enough hardware support is upstream for the official NixOS installer to work properly on Apple Silicon Macs. A [https://github.com/tpwrules/nixos-apple-silicon/blob/main/docs/uefi-standalone.md comprehensive guide] to using the Asahi Linux installer to install NixOS with a customized NixOS ISO is available.
 
=== Touchbar ===
Certain Macbook Pro models from 2020-2022 may include the Apple touchbar. Out of the box, the touchbar will be completely blank when running NixOS. The touchbar can be re-enabled by adding the following option to your configuration:<syntaxhighlight lang="nix">{
  hardware.apple.touchBar.enable = true;
}</syntaxhighlight>This will enable basic function row emulation using the [https://github.com/AsahiLinux/tiny-dfr tiny-dfr] package provided by the [https://asahilinux.org/ Asahi Linux project].
[[Category:NixOS on ARM]]