trim down the qemu kernel config

just retain the options we need to pass the tests
This commit is contained in:
Daniel Barlow 2022-10-18 22:28:07 +01:00
parent c6ed5d6f2d
commit 3ef30056c4
4 changed files with 65 additions and 136 deletions

20
modules/wlan.nix Normal file
View file

@ -0,0 +1,20 @@
{ lib, pkgs, config, ...}:
let
inherit (lib) mkEnableOption mkOption types isDerivation hasAttr ;
inherit (pkgs.pseudofile) dir symlink;
inherit (pkgs) busybox;
in {
config = {
kernel = rec {
config = {
CFG80211= "y";
MAC80211= "y";
MAC80211_MESH= "y";
RFKILL= "y";
WLAN = "y";
};
checkedConfig = config;
};
};
}