From 53fef9edcaf250ffa7cbc32c67b6ef4fe3226db6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 18 Jan 2023 14:34:04 +0100 Subject: nixos: update wifi WPA settings The wpa option has changed and now serves to both disable as well as set WPA version. --- nixos/machine/spt-mox.nix | 4 +--- nixos/machine/spt-mox2.nix | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) (limited to 'nixos') diff --git a/nixos/machine/spt-mox.nix b/nixos/machine/spt-mox.nix index d79da46..84029c6 100644 --- a/nixos/machine/spt-mox.nix +++ b/nixos/machine/spt-mox.nix @@ -20,11 +20,9 @@ with lib; { ht_capab = ["HT40+" "SHORT-GI-20" "SHORT-GI-40" "TX-STBC" "RX-STBC1" "DSSS_CCK-40"]; ssid = "TurrisRules"; bridge = "brlan"; - wpa = true; - wpa3 = false; + wpa = 2; wpaPassphrase = "@PASS_TURRIS_RULES@"; }; - # TODO use use wlp3s0 with 80211ax }; }; diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix index 68cba29..b504563 100644 --- a/nixos/machine/spt-mox2.nix +++ b/nixos/machine/spt-mox2.nix @@ -24,8 +24,7 @@ with lib; { ht_capab = ["LDPC" "HT40+" "SHORT-GI-20" "SHORT-GI-40" "TX-STBC" "RX-STBC1" "MAX-AMSDU-7935" "DSSS_CCK-40"]; ssid = "TurrisRules"; bridge = "brlan"; - wpa = true; - wpa3 = false; + wpa = 2; wpaPassphrase = "@PASS_TURRIS_RULES@"; #bss = { # "wlp1s0host" = { -- cgit v1.2.3