···3838make install host=HOSTNAME disk=/dev/DISK
3939```
40404141+### Install on Apple Silicon MacBook Pro
4242+4343+The `macbookpro` host uses [nixos-apple-silicon](https://github.com/nix-community/nixos-apple-silicon)
4444+for Apple Silicon support. Partitioning is managed by the Asahi installer
4545+(shared with macOS), not disko, so the installation process differs from x86 hosts.
4646+4747+1. In macOS, run the Asahi installer to set up a UEFI boot environment:
4848+4949+```sh
5050+curl https://alx.sh | sh
5151+```
5252+5353+Choose "Resize an existing partition" to make room (at least 20GB), then
5454+"UEFI environment only". Name it NixOS. Follow the prompts to set permissive
5555+security and reboot.
5656+5757+2. Download the latest installer ISO from the
5858+[nixos-apple-silicon releases](https://github.com/nix-community/nixos-apple-silicon/releases)
5959+page and write it to a USB drive:
6060+6161+```sh
6262+sudo dd bs=4M if=/path/to/nixos-apple-silicon.iso of=/dev/sdX conv=fsync oflag=direct status=progress
6363+```
6464+6565+3. Shut down the Mac, insert the USB drive, and power on. U-Boot should boot
6666+from USB automatically. If it boots the internal disk instead, hit a key to
6767+stop autoboot, run `bootmenu`, and select the `usb 0` entry.
6868+6969+4. Partition and format the free space:
7070+7171+```sh
7272+sudo -i
7373+sgdisk /dev/nvme0n1 -n 0:0 -s
7474+# Check the partition table to identify the new partition number (type 8300)
7575+sgdisk /dev/nvme0n1 -p
7676+mkfs.ext4 -L nixos /dev/nvme0n1pN # replace N with actual partition number
7777+```
7878+7979+5. Mount the partitions:
8080+8181+```sh
8282+mount /dev/disk/by-label/nixos /mnt
8383+mkdir -p /mnt/boot
8484+mount /dev/disk/by-partuuid/$(cat /proc/device-tree/chosen/asahi,efi-system-partition) /mnt/boot
8585+```
8686+8787+6. Connect to Wi-Fi and install:
8888+8989+```sh
9090+iwctl station wlan0 connect YOUR_SSID
9191+systemctl restart systemd-timesyncd
9292+nix-shell -p git gnumake
9393+git clone https://github.com/khuedoan/nixos-setup
9494+cd nixos-setup
9595+nixos-install --flake '.#macbookpro' --impure
9696+```
9797+9898+7. After rebooting into the new system, update the `/boot` PARTUUID in
9999+`hosts/macbookpro/default.nix` with the actual value from step 5 and rebuild:
100100+101101+```sh
102102+make build host=macbookpro flags=--impure
103103+```
104104+41105### Apply changes
4210643107After installation, clone your repository again and apply changes to the