<siers>
I just found out everything from the source. Launchd starts things up with launch agents, which are an XML file, which are made with toPLIST/toEnvironmentFile from the launchd.user.agents (or launchd.agents). Then copied over to ~/Library/LaunchAgents with activation scripts.
<siers>
Are there no launchDaemons in nix-darwin source?
<LnL>
there are system launch daemon/agents but only user launch agents
<LnL>
a daemon starts after boot while, agents only start once a user logs in
philr has quit [Ping timeout: 245 seconds]
<siers>
okay
<siers>
but it looks like no daemons have been implemented in nix-darwin, right?
<LnL>
it's there
<LnL>
launchd.daemons, launchd.agents and launchd.user.agents
<siers>
yes, the interface is implemented, but not used – no daemons available in nix-darwin, right?
<siers>
this is actually not so important, I'm just chatting :)