Nix enables instant rollbacks by using immutable store paths and symlink-based generations rather than in-place installation like apt or brew. Installing or removing packages creates new numbered snapshots without modifying existing ones, so rolling back simply repoints a symlink to a previous generation with no downloads or rebuilds needed. The tradeoff is that deleting generations doesn't immediately free disk space until garbage collection runs and no roots reference those paths.