about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2024-05-09 10:59:41 +0100
committerdevhell <devhell@mailfresser.de>2024-05-09 10:59:41 +0100
commita68faae8b419937e23ed16e6c09f35bdeec6b024 (patch)
treeab363952602711beb01a87a8c4f02de0310d3027 /machines
parent9c9c63e89ac54a60d7b9c172686eac64240d1cb7 (diff)
machines/gunnr: Remove gastly rtl88xxau driver
Blessed be my new ALFA AWUS036AXML, and TP-Link Archer with that nasty
Realtek driver can go eat a big fat dorito. The only thing that I had to
do was to blacklist `btusb`. Somehow there seems to be a race condition
which prevents WiFi from loading properly.
Diffstat (limited to 'machines')
-rw-r--r--machines/devhell/gunnr.nix20
1 files changed, 3 insertions, 17 deletions
diff --git a/machines/devhell/gunnr.nix b/machines/devhell/gunnr.nix
index a26201bd..7894af67 100644
--- a/machines/devhell/gunnr.nix
+++ b/machines/devhell/gunnr.nix
@@ -31,23 +31,9 @@
 
     kernelParams = [ "pcie_aspm=off" ];
     kernelModules = [ "kvm-amd" ];
-    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;
+    extraModulePackages = [ ];
+    blacklistedKernelModules = [ "btusb" ];
+    kernelPackages = [ ];
   };
 
   hardware = {