Install NixOS

Course map
Checkpoint 01Install NixOS
Hands-on checkpoint

Install your first NixOS machine

You have a blank virtual computer and a NixOS installer image. We'll take it all the way to a rebuild and a safe reboot.

Everything here is simulated. Your real disks and configuration are untouched.
GNU GRUB  version 2.12

Use the ↑ and ↓ keys to select which entry is highlighted.
Press enter to boot the selected OS, e to edit, or c for a command-line.

Install System
Install NixOS

Welcome to the NixOS installer.

This program will ask you some questions and set up NixOS on your computer.

The language you choose will be used for the installer and the new system.

Install System
Install NixOS

Location

Select a timezone and a location for the system language and formats.

Timezone:
Europe/Kyiv
System language:
American English (United States)
Numbers and dates:
American English (United States)
Install System
Install NixOS

Keyboard

Keyboard Layout
  • English (US)
  • English (UK)
  • German
  • Ukrainian
Keyboard Variant
  • Default
  • English (intl., with AltGr dead keys)
  • English (Colemak)
Install System
Install NixOS

Users

Set up your user account

Choose a name, a login name, and a password for the installed system.

Install System
Install NixOS

Desktop

Choose the desktop environment to install.

  • GNOME
  • Plasma
  • Xfce
  • Pantheon
  • Cinnamon
  • MATE
  • Enlightenment
  • LXQt
  • No desktop
Activities Jun 1  16:15
● ■ ● ■ ●
GNOME

Every part of GNOME has been designed to make it simple and easy to use. It provides a focused working environment that helps you get things done.

Install System
Install NixOS

Unfree Software

Install System
Install NixOS

Partitions

1.0 GiB
FAT32
/boot
63.0 GiB
ext4
NixOS /

The virtual disk is empty. In a real installer, verify the device and your backups before continuing.

Install System
Install NixOS

Summary

1.0 GiB FAT3263.0 GiB ext4 · NixOS
Install System
Install NixOS

Install

Installing NixOS

NixOS keeps complete system versions as generations, so a future change does not erase your working system.

Install System
Install NixOS

All done.

NixOS has been installed

You can restart the virtual computer and boot into your new system.

Rebuild complete

Your system now has history

Each successful switch points a new generation at a complete system. The older one stays available for rollback.

GNU GRUB  version 2.12

Every generation you have built is still here.
Use the ↑ and ↓ keys to choose one, then press enter to boot it.

Checkpoint complete

You installed and rebuilt NixOS

You're running generation 2 as snowflake. Every saved generation is still available from the boot menu.

Installed from a blank diskChanged declarative configurationBooted a saved generation
joyerbox