| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .. | ||
| aquamarine-asahi-rendernode.patch | ||
| configuration.nix | ||
| desktop.nix | ||
| hardware-configuration.nix | ||
| overlay.nix | ||
| README.md | ||
Asahi (Apple Silicon)
NixOS on this Mac. Firmware stays out of git. Desktop is the shared Quickshell Hyprland stack; this host only overrides the panel and turns off blur/shadows.
This machine
nix-store --add-fixed sha256 /boot/vendorfw/firmware.cpio
nh os switch -H Asahi
New machine
-
Install NixOS with the Asahi installer. It writes
vendorfw/to the ESP. -
Replace
hardware-configuration.nix(nixos-generate-config). -
Hash firmware and put it in
configuration.nix:nix hash file --sri /boot/vendorfw/firmware.cpio nix-store --add-fixed sha256 /boot/vendorfw/firmware.cpio -
Set the panel in
desktop.nix(hyprctl monitors). -
nh os switch -H Asahi
Firmware update
From macOS, run the Asahi installer and choose “Rebuild vendor firmware package”. Then:
nix hash file --sri /boot/vendorfw/firmware.cpio
nix-store --add-fixed sha256 /boot/vendorfw/firmware.cpio
Put the new SRI in configuration.nix (requireFile.hash) and nh os switch -H Asahi. The running system keeps the old blob until that rebuild.