Category: Linux/NixOS

  • NixOS for Beginners – Part 3: The Build Lifecycle, Flakes, and Shells

    A Beginner’s Guide to the Fundamentals Basic concepts, components, modules, use cases, and the mental model behind declarative Linux The rebuild lifecycle: build, test, switch, boot The command nixos-rebuild is the normal bridge between configuration code and an activated NixOS system. Different subcommands let you control how much of the change becomes active. Command Beginner…

  • NixOS for Beginners – Part 2: The Nix Language, Nixpkgs, Modules, and Options

    A Beginner’s Guide to the Fundamentals Basic concepts, components, modules, use cases, and the mental model behind declarative Linux The Nix language: just enough to read configuration The Nix language is declarative, functional, lazy, and dynamically typed. You do not need to become a functional-programming expert to use NixOS. Start by learning a small set…

  • NixOS for Beginners – Part 1: The Mental Model Behind Declarative Linux

    A Beginner’s Guide to the Fundamentals Basic concepts, components, modules, use cases, and the mental model behind declarative Linux The one-sentence version NixOS is a Linux distribution where the intended state of the operating system is described as code, built from precisely identified inputs, and activated as a versioned system generation that can be reproduced,…