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:
K900 2024-09-17 19:07:47 +03:00
parent e2f071fe68
commit 1047f0a6bf

View File

@ -235,7 +235,7 @@ in {
};
channel = mkOption {
default = 7;
default = 0;
example = 11;
type = types.int;
description = ''