From 35375aa7edeec272947179d78328667bc928ca3a Mon Sep 17 00:00:00 2001 From: Yegor Timoshenko <yegortimoshenko@riseup.net> Date: Fri, 11 May 2018 13:56:18 +0300 Subject: [PATCH] hostapd: remove assertion (allow 5GHz channels) --- nixos/modules/services/networking/hostapd.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix index bf2d0916fa36..63f56437d1c8 100644 --- a/nixos/modules/services/networking/hostapd.nix +++ b/nixos/modules/services/networking/hostapd.nix @@ -151,11 +151,6 @@ in config = mkIf cfg.enable { - assertions = [ - { assertion = (cfg.channel >= 1 && cfg.channel <= 13); - message = "channel must be between 1 and 13"; - }]; - environment.systemPackages = [ pkgs.hostapd ]; systemd.services.hostapd =