anchor.diff:  
     dynamicHostsEnabled =
       cfg.dynamicHosts.enable && cfg.dynamicHosts.hostsDirs != {};
  +
  +  delegateWireless = config.networking.wireless.enable == true && cfg.unmanaged != [];
   
     # /var/lib/misc is for dnsmasq.leases.
     stateDirs = "/var/lib/NetworkManager /var/lib/dhclient /var/lib/misc";
  
positive.code:       basePackages = mkOption {
          type = types.attrsOf types.package;
          default = { inherit (pkgs)
                              networkmanager modemmanager wpa_supplicant crda
                              networkmanager-openvpn networkmanager-vpnc
                              networkmanager-openconnect networkmanager-fortisslvpn
                              networkmanager-l2tp networkmanager-iodine; };
          internal = true;
        };
  
  
negative.code:   config = mkIf cfg.enable {
  
      assertions = [
        { assertion = config.networking.wireless.enable == true -> cfg.unmanaged != [];
          message = ''
            You can not use networking.networkmanager with networking.wireless.
            Except if you mark some interfaces as <literal>unmanaged</literal> by NetworkManager.
          '';
        }
        { assertion = !dynamicHostsEnabled || (dynamicHostsEnabled && cfg.dns == "dnsmasq");
          message = ''
  