anchor.diff:  
     header = {
       description = "Syncthing service";
  +    after = [ "network.target" ];
       environment = {
         STNORESTART = "yes";
         STNOUPGRADE = "yes";
  
positive.code: 
      environment.systemPackages = [ cfg.package ];
  
      systemd.services = mkIf cfg.systemService {
        syncthing = header // {
          after = [ "network.target" ];
          wantedBy = [ "multi-user.target" ];
          serviceConfig = service // {
            User = cfg.user;
  
negative.code:           ExecStart = "${cfg.package}/bin/syncthing -no-browser -home=${cfg.dataDir}";
          };
        };
  
      systemd.user.services.syncthing =
        header // {
          wantedBy = [ "default.target" ];
          serviceConfig = service // {
            ExecStart = "${cfg.package}/bin/syncthing -no-browser";
          };
        };
  
    };
  }
  