anchor.diff:    bluez-bluetooth = pkgs.bluez;
     cfg = config.hardware.bluetooth;
   
  -in
  -
  -{
  +in {
   
     ###### interface
   
  
positive.code:         '';
          description = ''
            Set additional configuration for system-wide bluetooth (/etc/bluetooth/main.conf).
          '';
        };
      };
  
negative.code:     environment.systemPackages = [ bluez-bluetooth pkgs.openobex pkgs.obexftp ];
  
      environment.etc = singleton {
        source = pkgs.writeText "main.conf" ''
          [Policy]
          AutoEnable=${lib.boolToString cfg.powerOnBoot}
  
          ${cfg.extraConfig}
        '';
        target = "bluetooth/main.conf";
      };
  
  