aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2023-01-18 14:34:04 +0100
committerKarel Kočí <cynerd@email.cz>2023-01-18 14:34:04 +0100
commit53fef9edcaf250ffa7cbc32c67b6ef4fe3226db6 (patch)
treec90431d44fadd44bfa784296fd65d4564ebc789e /nixos
parent961a5c06c2a07870e846238be5365ad1c44dcaba (diff)
downloadnixos-personal-53fef9edcaf250ffa7cbc32c67b6ef4fe3226db6.tar.gz
nixos-personal-53fef9edcaf250ffa7cbc32c67b6ef4fe3226db6.tar.bz2
nixos-personal-53fef9edcaf250ffa7cbc32c67b6ef4fe3226db6.zip
nixos: update wifi WPA settings
The wpa option has changed and now serves to both disable as well as set WPA version.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/machine/spt-mox.nix4
-rw-r--r--nixos/machine/spt-mox2.nix3
2 files changed, 2 insertions, 5 deletions
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" = {