SWITCH_INHIBITORS

Constant SWITCH_INHIBITORS 

Source
const SWITCH_INHIBITORS: &[(&str, &str)];
Expand description

Critical components whose live-swap nixos-rebuild refuses. Detection is canonicalize-equality on the symlink target between current + new closure. init is NOT listed: it’s a regenerated-per-system stub that always differs across closures regardless of whether anything runtime-relevant changed; listing it would force a defer on every update. The actually- unsafe components are systemd (PID 1), kernel, and dbus.