1

feat: move wifi driver blacklist into its own module

so you can easily comment it out in the main config
This commit is contained in:
Himadri Bhattacharjee
2024-10-02 07:51:20 +05:30
parent f2a9f46570
commit ee1b1d89d8
2 changed files with 6 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
imports =
[
./hardware-configuration.nix
./disable-broken-wifi-card.nix
];
# Bootloader.
@@ -13,7 +14,6 @@
efi.canTouchEfiVariables = true;
};
kernelModules = [ "v4l2loopback" "nvidia_uvm" ];
blacklistedKernelModules = [ "rtw88_8822ce" ];
extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ];
extraModprobeConfig = ''
options v4l2loopback exclusive_caps=1 card_label="Virtual Webcam"

View File

@@ -0,0 +1,5 @@
{
# disable driver for broken internal wifi card
# remove this module if your wifi card works fine
boot.blacklistedKernelModules = [ "rtw88_8822ce" ];
}