I’ve had updates fail on NixOS. A kernel update didn’t generate the initramfs and the system wouldn’t boot. Booting to a previous generation and reapplying the update fixed it.
This is very rare, though, and unlike Arch can be fixed without a Live USB.
This sounds like a bug on Nix configuration, or the kernel build process.
If NixOS had caught the error, you wouldn’t have gotten a faulty generation at all. This is different from pacman/apt/dnf, which will happily continue the upgrade, resulting in a broken system with no easy way to fix it.
I’ve had updates fail on NixOS. A kernel update didn’t generate the initramfs and the system wouldn’t boot. Booting to a previous generation and reapplying the update fixed it.
This is very rare, though, and unlike Arch can be fixed without a Live USB.
This sounds like a bug on Nix configuration, or the kernel build process.
If NixOS had caught the error, you wouldn’t have gotten a faulty generation at all. This is different from pacman/apt/dnf, which will happily continue the upgrade, resulting in a broken system with no easy way to fix it.