Comment by ethagnawl

5 months ago

It's a shame there isn't a distribution (at least that I'm aware of) which is dynamic and modular enough to allow choosing your own "process manager" at install or even on boot.

Artix Linux does this. Arch sans systemd, and you have a choice between openrc, runit, s6, dinit, or even some combination of the 4. Any daemon type package will have a -runit/s6/dinit/openrc variant that includes the relevant scripts/configs.

In a sense, nixpkgs is that.

And AIUI that's exactly that the author refers to by "95% is nixpkgs".

The NixOS part (the module system and modules) is in no small part integration between the init-agnostic nixpkgs and the init system (systemd).

That's what enables this project, as well as nix-darwin (integrates with launchd) and NixBSD.

The traditional way (pacman, apk, apt...) is for packages to carry the init files for the service they package.