From 45d322771f892d39a64d6e0b905f6d78725616c1 Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Wed, 6 Mar 2024 18:02:32 +0100 Subject: [PATCH] Disable bluetooth and wifi on Raspberry Pi 4 --- modules/hardware/raspi4/raspi-base.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/hardware/raspi4/raspi-base.nix b/modules/hardware/raspi4/raspi-base.nix index 52fc4a5..91a4dae 100644 --- a/modules/hardware/raspi4/raspi-base.nix +++ b/modules/hardware/raspi4/raspi-base.nix @@ -121,6 +121,15 @@ in systemd-boot.enable = true; }; }; + boot.blacklistedKernelModules = [ + "brcmfmac" # diable the wifi driver + "hci_uart" # disable the bluetooth driver + "btbcm" # disable the bluetooth driver + "btintel" # disable the bluetooth driver + "btqca" # disable the bluetooth driver + "btsdio" # disable the bluetooth driver + "bluetooth" # disable the bluetooth driver + ]; boot.extraModulePackages = [ ]; hardware.enableRedistributableFirmware = true;