Being built · the commands are the design

NixOS, set up properly.

Every guide agrees on the shape of a NixOS setup, and every guide takes an evening. nixthing writes it in one command.

How it works Built by Rytter

$ nixthing new host laptop
→ flakes on
→ ~/nix-config: flake.nix, git initialised
→ hosts/laptop: configuration and hardware moved in
→ home-manager wired for you
✓ switched · laptop is declared

Features

The shape everyone ends up with.

  • One command

    Flakes on, a repository with git, this machine's files moved in, home-manager wired, and switched to.

  • A folder per host

    The next machine is the same line, and becomes a second host sharing your home.

  • The flake you'd write

    An ordinary flake, so you can read it, change it, or walk away from it.

How it works

Shell scripts, run from the repository.

  1. 1

    New host

    Run once on a fresh install, so nothing needs installing before the first command.

  2. 2

    Next host

    The same command on another machine adds it beside the first, so they share what is already declared.

  3. 3

    Switch

    switch.sh knows which host it is on, so rebuilding is the same word everywhere.

Who built it

Built by Rytter.

I'm Jakob Rytter. I build software and run it, from the server to the screen, and nixthing is how my machines start out.

rytter.it All the things