How to install driver for RTL8821AU chipsets

I had tried installing driver for RTL8821AU chipset using this package, but I was unable to get it working.

Please provide more details.

  1. How did you install the driver?
  2. What did you do while trying to get it to work?

Try this:

  boot.extraModulePackages = with config.boot.kernelPackages; [
    rtl8821au
  ];

If it doesn’t work, try this instead:

  boot.extraModulePackages = with config.boot.kernelPackages; [
    rtl88xxau-aircrack
  ];

In both cases you need to reboot after applying new configuration.

1 Like
boot.extraModulePackages = with config.boot.kernelPackages; [
  rtl8821au
];

Worked

It worked great, thank you! I searched for this driver and the installation suggestion on the NixOS website was to install it like any other package. Do you have the URL for documentation on Kernel configurations in NixOS?

The closest thing is probably here Linux kernel - NixOS Wiki

1 Like