NixOS System Generations: Declarative Rebuilds With Instant Rollback
NixOS makes the running system a pure function of configuration.nix. nixos-rebuild switch builds an immutable generation and updates the bootloader atomically, giving instant rollback without manual restores.