summary refs log tree commit diff
path: root/nixos/tests/kernel-latest-ath-user-regd.nix
blob: 11a3959e692e9dd3e35f9c10b613ac71baae261a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import ./make-test-python.nix ({ pkgs, ...} : {
  name = "kernel-latest-ath-user-regd";
  meta = with pkgs.lib.maintainers; {
    maintainers = [ veehaitch ];
  };

  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")
    '';
})