anchor.diff:        "systemd-journald.socket"
         "systemd-journald.service"
         "systemd-journal-flush.service"
  +      "systemd-journal-gatewayd.socket"
  +      "systemd-journal-gatewayd.service"
         "syslog.socket"
   
         # SysV init compatibility.
  
positive.code: 
        ln -s ../local-fs.target ../remote-fs.target ../network.target ../nss-lookup.target \
              ../nss-user-lookup.target ../swap.target $out/multi-user.target.wants/
  
        ${ optionalString config.services.journald.enableHttpGateway ''
          ln -s ../systemd-journal-gatewayd.service $out/multi-user-target.wants/
        ''}
      ''; # */
  
  in
  
negative.code:         })
          (filterAttrs (name: service: service.startAt != "") cfg.services);
  
      systemd.sockets.systemd-journal-gatewayd.wantedBy =
        optional config.services.journald.enableHttpGateway "sockets.target";
  
      # Provide the systemd-user PAM service, required to run systemd
      # user instances.
      security.pam.services.systemd-user =
  