anchor.diff:      "<includedir>${d}/etc/dbus-1/session.d</includedir>"
     ]));
   
  -  daemonArgs = "--address=systemd: --nofork --nopidfile --systemd-activation";
  -
     configDir = pkgs.runCommand "dbus-conf"
       { preferLocalBuild = true;
         allowSubstitutes = false;
  
positive.code:       # Don't restart dbus-daemon. Bad things tend to happen if we do.
        reloadIfChanged = true;
        restartTriggers = [ configDir ];
        serviceConfig.ExecStart = [
          "" # Default dbus.service has two entries, we need to override both.
          "${lib.getBin pkgs.dbus}/bin/dbus-daemon --config-file=/run/current-system/dbus/system.conf ${daemonArgs}"
        ];
      };
  
      systemd.user = {
  
negative.code:       mkdir -p $out
  
        cp ${pkgs.dbus.out}/share/dbus-1/{system,session}.conf $out
  
        # avoid circular includes
        sed -ri 's@(<include ignore_missing="yes">/etc/dbus-1/(system|session)\.conf</include>)@<!-- \1 -->@g' $out/{system,session}.conf
  
        # include by full path
        sed -ri "s@/etc/dbus-1/(system|session)-@$out/\1-@" $out/{system,session}.conf
  