Propping up the bar

The Regulars

NixOS configs from real people, each with a short note on what it does well and what’s worth borrowing. Reading other people’s configs is one of the quickest ways to learn.

Misterio77/nix-starter-configs
Gabriel Fontes
First pint

Minimal and standard flake templates with heavy comments, designed to be the thing you copy on day one.

Worth borrowing: The whole thing. Start your own config from the minimal template.
mitchellh/nixos-config
Mitchell Hashimoto
Second round

Runs NixOS in a VM on a Mac as a daily development machine. A neat look at Nix outside a normal PC.

Worth borrowing: The idea that your dev environment can live in a VM you rebuild at will.

How to read someone's config

  1. Start at flake.nix. It lists every machine (“host”) the repo builds.
  2. Pick one host and follow its imports. That’s the whole recipe for that machine.
  3. Borrow one module at a time. Copy, rebuild, check it works, then take the next.

Pour your own

Got a config you’re proud of? Add it with a pull request: copy any file in content/regulars/, fill in the front matter, and write a few lines on what it does well. I read every submission and can help with the notes.

A good regular is public, has a README, and has at least one thing a beginner could copy on its own.