You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently nixos' activation script is a big mess (in my opinion); as it also restarts things that come before sysinit.target.
I think for most cases to activate a config people should just reboot, so that we never run into these issues.
However, I see the benefit for running services you install "immediately" so I would like to support
limited nixos-rebuild switch-like functionality but only for services that have DefaultDependencies=yes and are pulled in by multi-user.target
If the activation script detects any other things that need "restarting" it should refuse and advice a reboot
This eliminates obscure bugs; but keeps the interactivity of rebuild switch