Skip to content

Commit 1047f0a

Browse files
committed
nixos/hostapd: set default channel to auto
The current default, 7, is, to put it nicely, absolutely ridiculous. On 2.4 GHz, the only channels you should use are 1, 6 and 11, because every other channel overlaps one of those and causes interference. On 5/6 GHz, channel 7 does not exist at all. Also, it's 2024, most things will support automatic channel selection, and those that don't will likely need extra care to support prehistoric hardware anyway.
1 parent e2f071f commit 1047f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nixos/modules/services/networking/hostapd.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ in {
235235
};
236236

237237
channel = mkOption {
238-
default = 7;
238+
default = 0;
239239
example = 11;
240240
type = types.int;
241241
description = ''

0 commit comments

Comments
 (0)