NixOS / nix.dev

Official documentation for getting things done with Nix.
https://nix.dev
Creative Commons Attribution Share Alike 4.0 International
2.66k stars 255 forks source link

Install NixOS #738

Open zmitchell opened 1 year ago

zmitchell commented 1 year ago

As a new user it's often difficult to get NixOS installed because you may need a wired connection, which can be impractical. One solution is to create your own NixOS installer that already has WiFi drivers baked into the image along with any other packages that you already know that you want.

Creating a NixOS installation this way ensures that the ISO image already contains the Nix store that you need to boot into a fully functioning machine, which can be used as a first install or a rescue image.

This tutorial would follow the tutorial on installing NixOS in a VM, and would walk a user through the process of:

zmitchell commented 1 year ago

We already have this page Building a bootable ISO image but this page is very bare bones and not really what I would consider a "tutorial" in its current state.

fricklerhandwerk commented 10 months ago

This tutorial should probably incorporate disko, as anything else is just too much of a hassle.

willbush commented 4 months ago

Wish I knew about disko when I made this tutorial https://willbush.dev/blog/impermanent-nixos/. I've been thinking to update it to use disko and perhaps a non-flake based version of it. Anyways it covers creating a bootable ISO.