From 5d012c4bb21fa9bee9f34339f95ef8fffa052d56 Mon Sep 17 00:00:00 2001 From: Craig Hall Date: Sat, 20 Jun 2020 17:29:26 +0100 Subject: [PATCH] nixos/hostapd: Enable 802.11n / 802.11ac by default --- nixos/modules/services/networking/hostapd.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix index b1abf88b0d99..01a1b298cda6 100644 --- a/nixos/modules/services/networking/hostapd.nix +++ b/nixos/modules/services/networking/hostapd.nix @@ -20,6 +20,8 @@ let ssid=${cfg.ssid} hw_mode=${cfg.hwMode} channel=${toString cfg.channel} + ieee80211n=1 + ieee80211ac=1 ${optionalString (cfg.countryCode != null) ''country_code=${cfg.countryCode}''} ${optionalString (cfg.countryCode != null) ''ieee80211d=1''}