A beginner-friendly nix-darwin + home-manager + flakes startup configuration.
The primary objective of this repository is to assist beginners in comprehending the fundamental setup of nix-darwin, enabling them to swiftly initiate their own nix-darwin configuration.
A modified template versions is available:
- macbook: An extensive demo featuring a plethora of configurations that can serve as a reference for your setup. However, exercise caution, as it may OVERWRITE your system configuration. DO NOT deploy it directly to your system.
 
Nix-darwin facilitates the management of your macOS system configuration and dotfiles in a declarative manner. You can effortlessly revert to any previous configuration, making it a robust tool for system customization. Sharing configurations becomes seamless, and managing multiple macOS hosts is a breeze with nix-darwin.
nix build .#darwinConfigurations.macbook.system
sudo ./result/sw/bin/darwin-rebuild switch --flake .#macbook