From 79838f3591a66a54d3af181e529be3316d011e4d Mon Sep 17 00:00:00 2001 From: K900 Date: Tue, 23 Sep 2025 11:37:55 +0300 Subject: [PATCH] nixos/hostapd: fix type of channel option 0 is a valid value, and in fact the default. Fixes #445244. --- nixos/modules/services/networking/hostapd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix index a9c686763ca9..bdd016ef63cf 100644 --- a/nixos/modules/services/networking/hostapd.nix +++ b/nixos/modules/services/networking/hostapd.nix @@ -274,7 +274,7 @@ in channel = mkOption { default = 0; example = 11; - type = types.ints.positive; + type = types.ints.unsigned; description = '' The channel to operate on. Use 0 to enable ACS (Automatic Channel Selection). Beware that not every device supports ACS in which case {command}`hostapd`