Nix Configuration for macOS
Steps:
- Clone the project:
$ https://github.com/cpressland/nix-macos.git
- Install nix:
$ sh <(curl -L https://nixos.org/nix/install)
- Install nix-darwin:
$ nix-build https://github.com/LnL7/nix-darwin/archive/master.tar.gz -A installer ./result/bin/darwin-installer
- Run the project:
$ darwin-rebuild switch --flake ~/dev/nix-macos#macbook
ordarwin-rebuild switch --flake ~/dev/nix-macos#mini