This is a live walkthrough of an install of Nix on a fresh MacOS system and a tutorial showing how to make a declarative config that will meet all of your needs on MacOS.
Steps:
1. Install of nix
2. Creation of basic flake
3. Addition of nix-darwin and home-manager
4. Initial bootstrap of config
5. Config enhancements showing linked config files and homebrew control
6. Demonstration of adding a remote flake as a package
7. Refactor of single nix file into multiple files and other simplifications
Nix example code:
* Initial working flake: github.com/zmr...
* Embellished flake: github.com/zmr...
* Final refactored version: github.com/zmr...
20 сен 2024