diff --git a/hosts/ytnix/default.nix b/hosts/ytnix/default.nix index e6848c0..cf00236 100644 --- a/hosts/ytnix/default.nix +++ b/hosts/ytnix/default.nix @@ -50,6 +50,14 @@ extraModulePackages = with config.boot.kernelPackages; [ rtl8821ce ]; + kernelParams = [ + # see https://github.com/tomaspinho/rtl8821ce#pcie-active-state-power-management + "pcie_aspm=off" + ]; + # see https://github.com/tomaspinho/rtl8821ce#wi-fi-not-working-for-kernel--59 + extraModprobeConfig = '' + blacklist rtw88_8821ce + ''; }; networking = { diff --git a/hosts/ytnix/hardware-configuration.nix b/hosts/ytnix/hardware-configuration.nix index c91bb8d..c98a8c5 100644 --- a/hosts/ytnix/hardware-configuration.nix +++ b/hosts/ytnix/hardware-configuration.nix @@ -4,8 +4,6 @@ { config, lib, - pkgs, - modulesPath, ... }: {