This repository contains configurations for:
- my MacBook Pro 16", M4 Pro, running macOS 27 Golden Gate "Jorges-Laptop-Pro" and
- my Framework 13 as a server, Ryzen, running NixOS "Minto"
Grab the official Nix installer and follow Nix Academy's guide for macOS. Be sure to install nix-darwin and setup flakes.
Once you're acquainted with Nix-Darwin and Flakes, you're free to use this project as reference for configuring your Mac.
Note that I compartmentalize each system into a separate "specialization" flake that gets merged with a base configuration.nix file that is common and shared with all my systems.
Grab the NixOS install ISO and follow the manual to create a basic install. The graphical installer is great as a base and helps you understand what parts you need to define to make a working system.
Once you're acquainted with NixOS and Flakes, you're free to use this project as reference for configuring your system.
Note that I compartmentalize each system into a separate "specialization" flake that gets merged with a base configuration.nix file that is common and shared with all my systems.
Nix Academy's guide for macOS was a great starting off point for Nix-Flakes and Nix-Darwin, and definitely helps with initial configuration on the Mac.
This project really is an amalgamation of all the useful advice I could find on the internet on Nix, Nix-Darwin, Flakes and NixOS.