My macOS dotfiles
dotfiles README.md
1.4 kB · 46 lines
Markdown
at main

dotfiles #

My personal system setup for macOS, powered by nix, nix-darwin and home-manager ❄️

Installation #

On a fresh mac:

  1. Install git (on a fresh mac it won't exist)
xcode-select --install
  1. Install nix using the Community Installer:
curl -sSfL https://artifacts.nixos.org/nix-installer | sh -s -- install --enable-flakes --logger pretty
  1. Get this repo:
git clone https://github.com/FollowTheProcess/dotfiles.git ~/dotfiles
  1. Let nix do it's thing:
nix run nix-darwin -- switch --flake ~/dotfiles#onyx

Note

The setup is entirely self-contained, but can sometimes run into GitHub rate limits (fresh builds after a nix flake update for example). In which case, a simple, permission-less GitHub Personal Access Token should be provisioned in /etc/nix/access-tokens.conf: access-tokens = github.com=TOKEN_HERE. It doesn't break anything if it's not present, just gets around rate limits if they happen

Follow Ups #

  • App store apps aren't declared in here, the brew/mas integration just seems a bit flaky
  • Set up the SSH agent in 1Password (Settings > Developer > Use SSH Agent)