Declarative system
Distinguish configuration input and a system generation.
Linux Architect
Lesson goal
Distinguish configuration input and a system generation.
How it works
In NixOS, configuration describes the desired state. The build produces a generation. You can choose a retained earlier generation during recovery.
# Read the NixOS manual before testing a real VM
# Model check: cat /etc/os-releaseTry it
Find switch, boot, and test in the manual. Note which option selects the future boot configuration.