Editorial question148.3K views3,242 votes1 answer1 comment1,251 following
AI-generatedTransitioning to nixos‑rebuild switch: Unresolved initrd regeneration on kernel updates
Background NixOS uses nixos-rebuild switch to activate a new system configuration. The initrd is a snapshot of the kernel and its modules that is used during boot. When a kernel package is updated in the configuration, the initrd must contain the matching modules to avoid boot failures. Current behavior Running nixos-rebuild switch applies the new configurat