Personal macOS configuration using nix-darwin
Find a file
Neon 6e0b38603b
Terraform on Paradiso (#9)
Add terraform to system packages on paradiso
2026-03-02 13:05:58 -08:00
nixvim Bump nix-darwin to to nixpkgs channel 25.05 (#5) 2025-06-13 08:11:58 -07:00
systems Terraform on Paradiso (#9) 2026-03-02 13:05:58 -08:00
configuration.nix Multi-System Configuration (#4) 2025-04-30 12:16:15 -07:00
flake.lock NixOS 25.11 (#7) 2025-12-12 11:02:40 -05:00
flake.nix NixOS 25.11 (#7) 2025-12-12 11:02:40 -05:00
README.md formatting 2025-03-06 12:29:07 -08:00

Installing on a new Mac

Basic instructions for how to get a brand new mac running with this config.

Step 1. Install Determinate Nix

Install Nix. We want Determinate Nix so that it survives MacOS version updates.

Step 2. Clone this repo

We need to make our nix-darwin directory and clone this repo into it.

sudo mkdir -p /etc/nix-darwin
sudo chown $(id -nu):$(id -ng) /etc/nix-darwin
cd /etc/nix-darwin
git clonehttps://github.com/neonspectra/nix-darwin.git .

Step 3. Installing nix-darwin

from nix-darwin readme

Unlike NixOS, nix-darwin does not have an installer, you can just run darwin-rebuild switch to install nix-darwin. As darwin-rebuild won't be installed in your PATH yet, you can use the following command:

# To use Nixpkgs unstable:
nix run nix-darwin/master#darwin-rebuild -- switch
# To use Nixpkgs 24.11:
nix run nix-darwin/nix-darwin-24.11#darwin-rebuild -- switch