Skip to content

AWS

NixOS on AWS: Complete Setup Guide for Base NixOS 25.05 AMI

Most NixOS tutorials assume you'll install from scratch and figure out the rest. That's a 2-hour detour into dependency conflicts and broken configurations.

There's a faster way: use a prebuilt AMI that boots into a working NixOS system in under 5 minutes.

This tutorial walks through launching the Base NixOS 25.05 AMI on AWS EC2, verifying it works, and making your first declarative configuration change.