nixbld: fix wifi network

This commit is contained in:
Sebastien Bourdeauducq 2019-12-19 11:47:38 +08:00
parent 8fddcd68e8
commit 1f2eabed65
1 changed files with 9 additions and 0 deletions

View File

@ -104,6 +104,15 @@ in
hwMode = "g";
ssid = "M-Labs";
wpaPassphrase = (import /etc/nixos/secret/wifi_password.nix);
extraConfig = ''
ieee80211d=1
country_code=HK
ieee80211n=1
wmm_enabled=1
auth_algs=1
wpa_key_mgmt=WPA-PSK
rsn_pairwise=CCMP
'';
};
services.dnsmasq = {
enable = true;