anchor.diff:        message = "You can not use services.connman with networking.networkmanager";
       }];
   
  -    environment.systemPackages = [ connman ];
  +    environment.systemPackages = [ cfg.package ];
   
       systemd.services.connman = {
         description = "Connection service";
  
positive.code:         BusName = "net.connman";
          Restart = "on-failure";
          ExecStart = toString ([
            "${pkgs.connman}/sbin/connmand"
            "--config=${configFile}"
            "--nodaemon"
          ] ++ optional enableIwd "--wifi=iwd_agent"
  
negative.code:       serviceConfig = {
          Type = "dbus";
          BusName = "net.connman.vpn";
          ExecStart = "${cfg.package}/sbin/connman-vpnd -n";
          StandardOutput = "null";
        };
      };
  