nixmacnixmac turns your Mac into a reproducible, version-controlled system. Describe what you want in plain English — it writes the Nix, builds it, and applies it safely.
Built on top of
Step 3 · Config directory
Pick a starting point and nixmac scaffolds a working flake for you — sensible modules, a clean layout, and a config that builds on the first try.


Import from GitHub
Already manage your Mac with Nix? Point nixmac at your existing flake and it picks up right where you left off — no rewrite required.
Step 5 · Import customizations
nixmac runs read-only commands to detect the settings, packages, and services you've already customized — then turns them into code you can keep.



Live build
No spinners hiding the work. Every phase of the Nix build streams in real time, so you always know exactly what your system is doing.


Green means go
Changes apply atomically with a real darwin-rebuild switch. If a build fails, your running system stays exactly where it was.
Step 6 · AI inference
Use nixmac's hosted models with zero setup, or plug in your own API key. Prefer fully local? Run it offline with Ollama.
We run the models. Sign in and choose hosted billing.

After onboarding
Once you're set up, changing your Mac is a sentence, not a research project. The agent reads your config, writes the Nix, and iterates until it builds.
Review · line-level diffs
This is not a black box. Inspect exactly what changed, file by file, before and after it lands — with added and removed lines at a glance.

Drift detection
Changed something by hand? nixmac detects the drift and lets you adopt it into your config — or undo it with one click.

Save · git-native
Every apply is a git commit with an AI-written, semantic message. Your Mac's history reads like a changelog — and any state is one click away.

FAQ
Get started
Free and open source. No account required to try.
Download nixmac — free