diff options
author | devhell <devhell@mailfresser.de> | 2024-02-20 10:40:28 +0000 |
---|---|---|
committer | devhell <devhell@mailfresser.de> | 2024-02-20 10:42:28 +0000 |
commit | cd2a9558417ce7f0fa99366366e94d94ad617afb (patch) | |
tree | 4e04e693f85b3a44f5e935b8ccd5e12dec487dac | |
parent | 1c6db9c60540d50d06da7498cbd533a31f3d13b0 (diff) |
machines/gunnr: add rtl88xxau-aircrack fix
Without this the module doesn't build on kernel >6.7. Development seems to be slow upstream anyway, so this seems the most straight forward way of fixing it for now.
-rw-r--r-- | machines/devhell/gunnr.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/machines/devhell/gunnr.nix b/machines/devhell/gunnr.nix index 0c1f93b7..df65eb71 100644 --- a/machines/devhell/gunnr.nix +++ b/machines/devhell/gunnr.nix @@ -31,7 +31,20 @@ kernelParams = [ "pcie_aspm=off" ]; kernelModules = [ "kvm-amd" ]; - extraModulePackages = with config.boot.kernelPackages; [ rtl88xxau-aircrack ]; + extraModulePackages = [ + ( + config.boot.kernelPackages.rtl88xxau-aircrack.overrideAttrs + { + # https://github.com/aircrack-ng/rtl8812au/pull/1134 + src = pkgs.fetchFromGitHub { + owner = "crivasr"; + repo = "rtl8812au"; + rev = "c0d16813f5af3b464cdb6dd415c83d1f238e3548"; + hash = "sha256-jhX5apYbcYz6+kGGe1xZXXTerQJm3Gv4DoowDSSY8MY="; + }; + } + ) + ]; blacklistedKernelModules = [ ]; kernelPackages = lib.mkForce config.boot.zfs.package.latestCompatibleLinuxPackages; |