1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
nixpkgs/nixos/tests/kernel-latest-ath-user-regd.nix
2022-03-28 14:11:58 +02:00

18 lines
439 B
Nix

import ./make-test-python.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")
'';
})