Support socket-based, on-demand activation of the Nix daemon with systemd
Support socket-based, on-demand activation of the Nix daemon with systemd

Systemd can start the Nix daemon on demand when the Nix daemon socket
is first accessed.  This is signalled through the LISTEN_FDS
environment variable, so all we need to do is check for that and then
use file descriptor 3 as the listen socket instead of creating one
ourselves.

offlinehacker/nix,shlevy/nix,jcumming/nix,peti/nix,vcunat/nix,dtzWill/nix,gebner/nix,ehmry/nix,NixOS/nix,rowhit/nix,joelmo/nix,zimbatm/nix,offlinehacker/nix,ysangkok/nix,vcunat/nix,rycee/nix,acowley/nix,zimbatm/nix,NixOS/nix,bjornfor/nix,pikajude/nix,rycee/nix,dtzWill/nix,gebner/nix,peti/nix,joelmo/nix,gebner/nix,peti/nix,joelmo/nix,ttuegel/nix,bjornfor/nix,garbas/nix,tchajed/nix,NixOS/nix,bennofs/nix,ysangkok/nix,ehmry/nix,puffnfresh/nix,wmertens/nix,aucampia/nix,dtzWill/nix,layus/nix,aucampia/nix,shlevy/nix,shlevy/nix,edolstra/nix,puffnfresh/nix,rowhit/nix,acowley/nix,zimbatm/nix,jcumming/nix,vizanto/nix,nbp/nix,shlevy/nix,NixOS/nix,wmertens/nix,vizanto/nix,layus/nix,ttuegel/nix,joelmo/nix,ttuegel/nix,dezgeg/nix,gridaphobe/nix,nbp/nix,nbp/nix,dtzWill/nix,jcumming/nix,aucampia/nix,pikajude/nix,zimbatm/nix,garbas/nix,edolstra/nix,tchajed/nix,offlinehacker/nix,edolstra/nix,dtzWill/nix,gridaphobe/nix,rowhit/nix,offlinehacker/nix,shlevy/nix,bjornfor/nix,ysangkok/nix,vizanto/nix,tchajed/nix,acowley/nix,aucampia/nix,peti/nix,vcunat/nix,bennofs/nix,layus/nix,layus/nix,garbas/nix,puffnfresh/nix,vizanto/nix,wmertens/nix,garbas/nix,garbas/nix,tchajed/nix,gridaphobe/nix,rowhit/nix,ehmry/nix,gridaphobe/nix,ehmry/nix,rycee/nix,edolstra/nix,dezgeg/nix,bennofs/nix,ehmry/nix,ehmry/nix,acowley/nix,vcunat/nix,wmertens/nix,jcumming/nix,rycee/nix,pikajude/nix,puffnfresh/nix,peti/nix,dezgeg/nix,rycee/nix,nbp/nix,edolstra/nix,gebner/nix,layus/nix,bjornfor/nix,NixOS/nix,dezgeg/nix,bennofs/nix,ttuegel/nix,dezgeg/nix