nixmac brings the power of Nix to macOS. Declaratively manage packages, settings, and configurations. Version control your entire system. Reproduce your setup anywhere.
Requires Apple Silicon, macOS 12+, and Nix

Trusted by developers who care about reproducible, declarative system management
nixmac wraps the complexity of Nix in a beautiful native interface, making declarative system management accessible to everyone.
Define your entire system in code. No more manual setup or forgotten configurations.
Track changes to your system configuration with Git. Roll back mistakes instantly.
Set up a new machine in minutes with the exact same configuration every time.
System changes are atomic. If something fails, your system stays in a working state.
Manage configurations for multiple machines from a single repository with ease.
Describe changes in plain English. nixmac translates your intent into configuration.
Get started in minutes. nixmac handles the complexity so you can focus on what matters.
Tell nixmac what you want. Install packages, configure settings, set up keyboard shortcuts - all in plain language or by selecting from curated options.
nixmac shows you exactly what will change before applying. Click "Review" and watch as your system transforms to match your configuration. Every change is tracked and reversible.
Your configuration lives in a Git repository. Share it with your team, sync across machines, or use it to set up a brand new Mac in minutes. Your system is now code.
See exactly what your system looks like. Version control everything.
{
description = "My Mac configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
darwin.url = "github:lnl7/nix-darwin";
};
outputs = { self, nixpkgs, darwin }: {
darwinConfigurations."macbook" = darwin.lib.darwinSystem {
system = "aarch64-darwin";
modules = [{
environment.systemPackages = with nixpkgs; [
vim git ripgrep fzf
];
homebrew = {
enable = true;
casks = [ "rectangle" "raycast" "arc" ];
};
system.defaults.dock.autohide = true;
}];
};
};
}Everything you need to know about nixmac
Join developers who have embraced declarative system management. Download nixmac and take control of your configuration.
Free and open source. Apple Silicon and macOS 12+ required.