macOS base mac-base-<os-build>
Since 2026-10-16 the base is built automatically by omaf macos install (app: “Install macOS Base …”, plan BM29): IPSW from Apple → mac-fresh-<build> → clone → headless first boot with provisioning (user, automatic login, SSH) → your ~/.ssh/*.pub into authorized_keys → shutdown → read-only. The checklist below documents the manual M8 run that established these steps; it is kept as background, nothing in it needs to be done by hand any more.
The unchained copy of a base (plan B184)
omaf macos unchain <base> makes bases/mac-unchained-<…> from a ready base: a clone with a new identity, with System Integrity Protection off and omaflake Tools with omaflake’s camera extension in /Applications. Two steps are the user’s, in the VM’s window, because only a person can do them: csrutil disable in the Terminal of macOS Recovery (omaflake starts Recovery and says what to type), and the approval of the camera extension in System Settings. The state is in the VM’s files – images built from it (omaf build <recipe> --unchained) and their VMs keep it. What that is for and what it costs: an unchained guest loads software macOS would refuse (an ad hoc signed system extension, as omaflake’s camera extension is until omaflake has a Developer ID), and it runs without macOS’s own protection of the system – never the default, never needed for a feature everyone should have.
Background: checklist of the manual run (M8)
The base contains only what cannot be done by script or nix-darwin. Everything else (apps, Dock, defaults, wallpaper) is added declaratively in M9. Widgets: off in all VMs (nix-darwin, M9) – do not arrange anything here. For every new macOS version the base is recreated following this list – record every action here.
Rules
- Foundation is a fresh installation from Apple’s IPSW with
omaf-runner install(M7) – no tart, no Cirrus Labs images (spec §11). - No Apple ID, no iCloud, no license sign-ins (Microsoft 365 etc.) – those belong in instances.
- No secrets in the repo; passwords only in your head/password manager.
- Anything uncertain: note it here as OPEN instead of guessing.
Starting point
- IPSW: macOS 27.0.1, build
26A434(26.6 GB), ApplelatestSupported(plan BM12), stored in~/.omaflake/ipsw/ - Installed with:
omaf-runner install --latestinto~/.omaflake/bases/mac-fresh-26A434(never started, read-only); the base is an APFS clone of it:cp -c -R mac-fresh-26A434 mac-base-26A434 && chmod -R u+w mac-base-26A434 - CPU/RAM/display during setup: 4 cores / 8 GiB / 1920×1200 at 80 ppi, disk 80 GB thin (13 GB used after the first boot)
Steps (tick off, note deviations)
- First boot with provisioning (plan BM11):
omaf macos install(asks for the password and passes it toomaf-runner run … --window --user <user> --full-name "…" --password-stdin --auto-login --ssh) – user, auto-login and SSH without the Setup Assistant; afterwards check which dialogs still appear – 2026-10-16: boot to SSH in ~20 s; dialogs: none - Language/region/keyboard: kept the defaults – language
en, regionen_US, keyboardABC; per-image changes via nix-darwin - Apple ID: skip – checked: no account (
defaults read MobileMeAccounts→ domain not found) - Guest user (via provisioning; administrator? check); password only in the password manager – user is an administrator (group
admin), UID 501, shell/bin/zsh;sudoasks for the password - Dialogs off: Location Services, Analytics/Diagnostics, Siri, Screen Time, FileVault (off – OPEN whether needed), “What’s New” window – FileVault checked: off (
fdesetup status); 2026-10-16 in the window: no dialogs appeared after the provisioned login - Note macOS version:
sw_vers→ macOS 27.0.1 (26A434) - Automatic login for the guest user – via provisioning; check that it works –
autoLoginUseris set - Software Update: automatic updates off (images are rebuilt deliberately) – proposal: not in the base;
darwin-guest.nixsetsAutomaticallyInstallMacOSUpdates = falsein every image (automatic checking is still on in the base) - Energy saver/screen saver: not in the base – scriptable:
darwin-guest.nixsetspower.sleep.computer/display = "never"(in the base: display sleep 10 min) - Remote Login (SSH) – via provisioning; check –
OpenSSH_10.3answers - SSH key: your public SSH key into
~<user>/.ssh/authorized_keys(e.g. via a volume,/Volumes/<name>) – done once over SSH with the password - Check from the Mac:
ssh <user>@<IP>with key, without password –ssh -o BatchMode=yesworks - DECISION: disable password login via SSH (base or nix-darwin) – proposal: nix-darwin (
darwin-guest.nixsetsPasswordAuthentication no), so the base keeps password login until the image build has put the key in place - DECISION: install Nix here or only in the image build script (M9) – decided 2026-10-16: not in the base; the build script installs it
- Check: no Apple ID signed in (System Settings, top left) –
MobileMeAccountsdomain missing - Shut down; make the folder read-only (
chmod -R a-w) – from now on only clone it (omaf-runner clone) – done 2026-10-16
Notes
- 2026-10-16: development base with the guest user
test(to be rebuilt with the real user once the pipeline works). - No Nix in the base (
/nixmissing, no/etc/synthetic.conf) – the M9 build script installs it.