Loading nixos/modules/services/networking/hostapd.nix +3 −1 Original line number Diff line number Diff line Loading @@ -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"} Loading @@ -34,6 +36,7 @@ let ${optionalString cfg.wpa '' wpa=2 wpa_pairwise=CCMP wpa_passphrase=${cfg.wpaPassphrase} ''} ${optionalString cfg.noScan "noscan=1"} Loading Loading @@ -66,7 +69,6 @@ in }; interface = mkOption { default = ""; example = "wlp2s0"; type = types.str; description = lib.mdDoc '' Loading Loading
nixos/modules/services/networking/hostapd.nix +3 −1 Original line number Diff line number Diff line Loading @@ -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"} Loading @@ -34,6 +36,7 @@ let ${optionalString cfg.wpa '' wpa=2 wpa_pairwise=CCMP wpa_passphrase=${cfg.wpaPassphrase} ''} ${optionalString cfg.noScan "noscan=1"} Loading Loading @@ -66,7 +69,6 @@ in }; interface = mkOption { default = ""; example = "wlp2s0"; type = types.str; description = lib.mdDoc '' Loading