diff options
author | Yegor Timoshenko <yegortimoshenko@riseup.net> | 2018-05-11 13:56:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-11 13:56:18 +0300 |
commit | 35375aa7edeec272947179d78328667bc928ca3a (patch) | |
tree | eb10435af304e688d71ad07b8f2b569faf556c46 /nixos/modules/services/networking/hostapd.nix | |
parent | b7074a600bfb39cfd5385fca2b0c24966b5f7ba4 (diff) | |
download | nixpkgs-35375aa7edeec272947179d78328667bc928ca3a.tar nixpkgs-35375aa7edeec272947179d78328667bc928ca3a.tar.gz nixpkgs-35375aa7edeec272947179d78328667bc928ca3a.tar.bz2 nixpkgs-35375aa7edeec272947179d78328667bc928ca3a.tar.lz nixpkgs-35375aa7edeec272947179d78328667bc928ca3a.tar.xz nixpkgs-35375aa7edeec272947179d78328667bc928ca3a.tar.zst nixpkgs-35375aa7edeec272947179d78328667bc928ca3a.zip |
hostapd: remove assertion (allow 5GHz channels)
Diffstat (limited to 'nixos/modules/services/networking/hostapd.nix')
-rw-r--r-- | nixos/modules/services/networking/hostapd.nix | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/nixos/modules/services/networking/hostapd.nix b/nixos/modules/services/networking/hostapd.nix index bf2d0916fa3..63f56437d1c 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 = |