NixOS virtual machines on macOS

From NixOS Wiki
Revision as of 13:18, 20 August 2024 by Zimbatm (talk | contribs) (Add nix-darwin page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The nix-darwin project aims to bring the convenience of a declarative system approach to macOS. nix-darwin is built up around Nixpkgs, quite similar to NixOS.

Getting started

To install Nix-darwin, first install Nix on the fresh macOS machine.

Then run:

nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer && ./result/bin/darwin-installer