forked from mirrors/nixpkgs
Merge pull request #40334 from NixOS/yegortimoshenko-patch-4
hostapd: remove assertion (allow 5GHz channels)
This commit is contained in:
commit
9c174783a1
|
@ -151,11 +151,6 @@ in
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
assertions = [
|
|
||||||
{ assertion = (cfg.channel >= 1 && cfg.channel <= 13);
|
|
||||||
message = "channel must be between 1 and 13";
|
|
||||||
}];
|
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.hostapd ];
|
environment.systemPackages = [ pkgs.hostapd ];
|
||||||
|
|
||||||
systemd.services.hostapd =
|
systemd.services.hostapd =
|
||||||
|
|
Loading…
Reference in a new issue