My (currently Darwin only) system configuration and setup using Nix and Nix-Darwin.
Yolo!
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/TheOptimist/systemosaurus/main/install)"
Not yet worked out how to change default shell for user (maybe with home manager), so...
chsh -s /run/current-system/sw/bin/zah
Instaling application from the App Store via mas
will not work until you have signed into the App Store. Do that first.
- Installs Command Line Tools silently
- Installs Nix
- Installs Nix-Darwin
- Installs HomeBrew
- Clones this repository to the local machine
- Initiates first
darwin-rebuild
to switch configurations
Installing with daemon for multi-user despite there only being a single user on my Mac.
Using "unencrypted volume" for MacOS.
Yep, some packages are only available via brew or mas.
config/
- Package installation and configurationhome/
- Home-manager configuration and dotfile managementmodules/
- Modules to assist configuration of machineprofiles/
- Configuration profiles (bit weak this one, it's fairly empty)
Becaue I am far too early on in my journey with nix. Heavily inspired by:
- https://github.com/rummik/nixos-config
- https://github.com/kclejeune/system
- https://github.com/malob/nixpkgs
- https://github.com/lccambiaghi/nixpkgs
- https://github.com/kitten/nix-system
- https://github.com/lucperkins/nix-home-config
- https://btwiusegentoo.github.io/nixconfig/
Move to using flakes? Some of the repositories above seem to shorten the install workflow to install nix, clone the repository and then darwin-rebuild, which would be nice.