From a8af2a0e928ea40df3c7b90e592b6715ce930f12 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 30 Mar 2021 18:22:53 +0200 Subject: [PATCH] Blacklist bluetooth kernel module --- configuration.nix | 1 + modules/power.nix | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 3a34b92..64ad3b5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,6 +8,7 @@ [ "zfs.zfs_arc_max=1073741824 zfs.zfs_arc_meta_limit_percent=90" ]; kernelModules = [ "i915" "acpi_call" "kvm-intel" ]; extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; + blacklistedKernelModules = [ "btusb" ]; supportedFilesystems = [ "zfs" ]; zfs.requestEncryptionCredentials = true; }; diff --git a/modules/power.nix b/modules/power.nix index 3e2f52d..19d95ab 100644 --- a/modules/power.nix +++ b/modules/power.nix @@ -31,9 +31,6 @@ NATACPI_ENABLE = 1; TPACPI_ENABLE = 1; TPSMAPI_ENABLE = 1; - - # Disable bluetooth on startup - DEVICES_TO_DISABLE_ON_STARTUP = "bluetooth"; }; };