aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2022-11-02 11:53:59 +0100
committerKarel Kočí <cynerd@email.cz>2022-11-02 11:53:59 +0100
commit8be16711771879a1b57a673edbadb98776e022cf (patch)
treef38197ff0d7589be1fe0916522e0a31ffb2f0894 /nixos/machine
parenta5fcad4b9b05c29b85598758ea98ffa57b8e2385 (diff)
downloadnixos-personal-8be16711771879a1b57a673edbadb98776e022cf.tar.gz
nixos-personal-8be16711771879a1b57a673edbadb98776e022cf.tar.bz2
nixos-personal-8be16711771879a1b57a673edbadb98776e022cf.zip
nixos/spt-mox2: use bridge in hostapd
This makes it much more resilient as hostapd adds it to the bridge rather than bridge waiting for hostapd to start.
Diffstat (limited to 'nixos/machine')
-rw-r--r--nixos/machine/spt-mox2.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix
index 982cc50..79109ee 100644
--- a/nixos/machine/spt-mox2.nix
+++ b/nixos/machine/spt-mox2.nix
@@ -38,6 +38,7 @@ with lib;
ht_capab = ["HT40+" "LDPC" "SHORT-GI-20" "SHORT-GI-40" "TX-STBC" "RX-STBC1" "MAX-AMSDU-7935" "DSSS_CCK-40"];
vht_capab = ["RXLDPC" "SHORT-GI-80" "TX-STBC-2BY1" "RX-ANTENNA-PATTERN" "TX-ANTENNA-PATTERN" "RX-STBC-1" "MAX-MPDU-11454" "MAX-A-MPDU-LEN-EXP7"];
ssid = "TurrisRules5";
+ bridge = "brlan";
wpa = true;
wpaPassphrase = "@PASS_TURRIS_RULES@";
bss = {
@@ -61,12 +62,12 @@ with lib;
bridges = {
brlan = {
interfaces = [
- "eth0" "wlp1s0" #"mlan0"
+ "eth0"
];
};
brguest = {
interfaces = [
- "eth0.2" "wlp1s0host" #"mlan0host"
+ "eth0.2"
];
};
};