mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
18 lines
403 B
Nix
18 lines
403 B
Nix
{ pkgs, ... }:
|
|
{
|
|
name = "kernel-latest-ath-user-regd";
|
|
meta = with pkgs.lib.maintainers; {
|
|
maintainers = [ veehaitch ];
|
|
};
|
|
|
|
nodes.machine =
|
|
{ pkgs, ... }:
|
|
{
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
networking.wireless.athUserRegulatoryDomain = true;
|
|
};
|
|
|
|
testScript = ''
|
|
assert "CONFIG_ATH_USER_REGD=y" in machine.succeed("zcat /proc/config.gz")
|
|
'';
|
|
}
|