anchor.diff:          > "$out/session-local.conf"
       '';
     };
  -
   in
   
   {
  
positive.code: with lib;
  
  let
  
    cfg = config.services.dbus;
  
    homeDir = "/var/run/dbus";
  
negative.code: 
    config = mkIf cfg.enable {
  
      environment.etc = singleton {
        source = configDir;
        target = "dbus-1";
      };
  
      environment.pathsToLink = [
        "/etc/dbus-1"
        "/share/dbus-1"
      ];
  
      environment.systemPackages = [
        pkgs.dbus
      ];
  
      users.extraUsers.messagebus = {
        uid = config.ids.uids.messagebus;
  