I have a project consisting of several services run by home-grown orchestrator. Services themselves build with nix successfully. We consider to throw away home-grown orchestrator and start the project in production as a collection of systemd services (configured by nixos module).
Which approaches do exist for running several services in developer mode? That is not as system services. Our legacy orchestrator spawns docker images and collects logs; I’m interested in spawning processes defined in my nixos modules, ideally without root privileges.
May be it’s possible to set environment variables for
nix develop so that services defined in a flake may run with
systemctl --user ...?