forked from M-Labs/nix-scripts
nixbld: stop using iwlwifi garbage
It just won't stop crashing.
This commit is contained in:
parent
e34a070124
commit
49f014fb67
|
@ -7,7 +7,7 @@
|
|||
let
|
||||
netifWan = "enp0s31f6";
|
||||
netifLan = "enp3s0";
|
||||
netifWifi = "wlp4s0";
|
||||
netifWifi = "wlp0s20f0u1";
|
||||
netifSit = "henet0";
|
||||
hydraWwwOutputs = "/var/www/hydra-outputs";
|
||||
in
|
||||
|
@ -26,18 +26,7 @@ in
|
|||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
# work around iwl driver bug in newer kernels
|
||||
boot.kernelPackages = pkgs.linuxPackagesFor (pkgs.linux_4_19.override {
|
||||
argsOverride = rec {
|
||||
src = pkgs.fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v4.x/linux-${version}.tar.xz";
|
||||
sha256 = "0d2bcg0krahia2ylgqaxdppyr9idq2pi6y1si6h8n9sg6rj3a57i";
|
||||
};
|
||||
version = "4.19.79";
|
||||
modDirVersion = version;
|
||||
};
|
||||
});
|
||||
boot.blacklistedKernelModules = ["iwlwifi"];
|
||||
|
||||
security.apparmor.enable = true;
|
||||
|
||||
|
|
Loading…
Reference in New Issue