Skip to content

Instantly share code, notes, and snippets.

@notgne2

notgne2/wifi.nix Secret

Created March 14, 2020 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notgne2/230934c41af12b45485eedcd82d72d69 to your computer and use it in GitHub Desktop.
Save notgne2/230934c41af12b45485eedcd82d72d69 to your computer and use it in GitHub Desktop.
let
stupidWifiThing = (config.boot.kernelPackages.rtl8812au.override { stdenv = pkgs.addAttrsToDerivation rec {
name = "rtl8812au-${pkgs.linux_5_4.version}-${version}";
version = "5.1.5+69";
src = builtins.fetchGit {
rev = "40eafac156c1ce5e736f9767b27dd967a4ae5cbe";
url = "https://github.com/gnab/rtl8812au.git";
};
} pkgs.stdenv; });
in
{
hardware.firmware = with config.boot.kernelPackages; [ stupidWifiThing ];
boot.extraModulePackages = with config.boot.kernelPackages; [ stupidWifiThing ];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment