diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-05-11 12:18:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-11 12:18:50 +0100 |
commit | 9c174783a1302b5c2afa2273173177384332f58b (patch) | |
tree | 3058315de1219170b0cb29c5d53059cda0af6a1c | |
parent | d01a13b74a61532163fd70c2e7ac258b7c25c56b (diff) | |
parent | 35375aa7edeec272947179d78328667bc928ca3a (diff) | |
download | nixlib-9c174783a1302b5c2afa2273173177384332f58b.tar nixlib-9c174783a1302b5c2afa2273173177384332f58b.tar.gz nixlib-9c174783a1302b5c2afa2273173177384332f58b.tar.bz2 nixlib-9c174783a1302b5c2afa2273173177384332f58b.tar.lz nixlib-9c174783a1302b5c2afa2273173177384332f58b.tar.xz nixlib-9c174783a1302b5c2afa2273173177384332f58b.tar.zst nixlib-9c174783a1302b5c2afa2273173177384332f58b.zip |
Merge pull request #40334 from NixOS/yegortimoshenko-patch-4
hostapd: remove assertion (allow 5GHz channels)
-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 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 = |