Thriving Thriving QM NI
↑ 72 ?
system jrolfs/system

❄️ Flake configuration for everything computer

HEALTH ? 80 / Healthy
// solo builder// legacy hero dotfilesmacosconfigurationhome-managernixnixos ?

// readme

One Nix flake that configures every machine I own, macOS and Linux alike: nix-darwin for the Macs, NixOS for Linux, and home-manager for the dotfiles they share. It lives at ~/.config/system on each machine.

Getting started

A new machine is set up by bootstrap, which installs what the flake needs, clones this repository, signs in to 1Password for secrets, and runs the first switch. Every step is resumable, so running it again picks up wherever it stopped.

macOS

bash -c "$(curl -fsSL https://raw.githubusercontent.com/jrolfs/bootstrap/main/bootstrap.sh)"

It installs the Command Line Tools and Lix, then Homebrew for the apps that only ship as casks.

NixOS

Boot the NixOS installer (bootstrap media write <iso> makes the USB stick), set a password with passwd so you can SSH in, then run:

nix --extra-experimental-features 'nix-command flakes' run github:jrolfs/bootstrap

On installer media it partitions the disk with…