/nix-darwin-home-manager-tutorial

Setting up an example flake using Nix, nix-darwin, and home-manager

Primary LanguageNix

Nix Install and Setup on MacOS

This is following the tutorial Walkthrough of Nix Install and Setup on MacOS.

nix build .#darwinConfigurations.mac-mini.system

# Activate configuration (first time)
nix run nix-darwin -- switch --flake .

# Apply changes after first install
darwin-rebuild switch --flake .