nix/hosts/Asahi
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-22 17:04:46 +02:00
..
aquamarine-asahi-rendernode.patch feat: add Asahi host with shared Quickshell desktop 2026-08-22 17:04:46 +02:00
configuration.nix feat: add Asahi host with shared Quickshell desktop 2026-08-22 17:04:46 +02:00
desktop.nix feat: add Asahi host with shared Quickshell desktop 2026-08-22 17:04:46 +02:00
hardware-configuration.nix feat: add Asahi host with shared Quickshell desktop 2026-08-22 17:04:46 +02:00
overlay.nix feat: add Asahi host with shared Quickshell desktop 2026-08-22 17:04:46 +02:00
README.md feat: add Asahi host with shared Quickshell desktop 2026-08-22 17:04:46 +02:00

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

  1. Install NixOS with the Asahi installer. It writes vendorfw/ to the ESP.

  2. Replace hardware-configuration.nix (nixos-generate-config).

  3. 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
    
  4. Set the panel in desktop.nix (hyprctl monitors).

  5. 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.