Transitioning 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