mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 08:17:46 +00:00
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.
This commit is contained in:
parent
e2f071fe68
commit
1047f0a6bf
@ -235,7 +235,7 @@ in {
|
||||
};
|
||||
|
||||
channel = mkOption {
|
||||
default = 7;
|
||||
default = 0;
|
||||
example = 11;
|
||||
type = types.int;
|
||||
description = ''
|
||||
|
Loading…
Reference in New Issue
Block a user