From 1f9fd276b05b00cfbcf8521749375982ec65a930 Mon Sep 17 00:00:00 2001 From: cy Date: Wed, 1 Jan 2025 01:06:33 -0500 Subject: [PATCH] maybe this will fix bluetooth *sigh* --- hosts/ytnix/default.nix | 8 ++++++++ hosts/ytnix/hardware-configuration.nix | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) 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, ... }: {