diff --git a/overlay.nix b/overlay.nix index 27a4e38..84316fa 100644 --- a/overlay.nix +++ b/overlay.nix @@ -121,7 +121,32 @@ extraPkgs // { nettle = null; }; - hostapd = prev.hostapd.override { sqlite = null; }; + hostapd = + let + config = [ + "CONFIG_DRIVER_NL80211=y" + "CONFIG_IAPP=y" + "CONFIG_IEEE80211AC=y" + "CONFIG_IEEE80211N=y" + "CONFIG_IEEE80211W=y" + "CONFIG_INTERNAL_LIBTOMMATH=y" + "CONFIG_INTERNAL_LIBTOMMATH_FAST=y" + "CONFIG_IPV6=y" + "CONFIG_LIBNL32=y" + "CONFIG_PKCS12=y" + "CONFIG_RSN_PREAUTH=y" + "CONFIG_TLS=internal" + ]; + h = prev.hostapd.overrideAttrs(o: { + extraConfig = ""; + configurePhase = '' + cat > hostapd/defconfig <