How to disable the wifi and bluetooth permanent in debian

Find the device with:

lspci -nnk | grep -iA2 net

Output:

00:14.3 Network controller [0280]: Intel Corporation CNVi: Wi-Fi [8086:54f0]
        DeviceName: Onboard - Ethernet
        Subsystem: Intel Corporation CNVi: Wi-Fi [8086:02a4]
        Kernel driver in use: iwlwifi
--
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:b0a9]
        Kernel driver in use: r8169
        Kernel modules: r8169
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Micro-Star International Co., Ltd. [MSI] RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1462:b0a9]
        Kernel driver in use: r8169
        Kernel modules: r8169

It is the module iwlwifi. If I try to remove the module:

modprobe -r iwlwifi

I got:

modprobe: FATAL: Module iwlwifi is in use.

So I try to not load the module and dependencies at boot. I list the loaded wlan modules with:

lsmod | grep wl

Output:

iwlmvm                385024  0
mac80211             1175552  1 iwlmvm
iwlwifi               360448  1 iwlmvm
cfg80211             1142784  3 iwlmvm,iwlwifi,mac80211
rfkill                 36864  4 iwlmvm,bluetooth,cfg80211

To find the dependencies I use:

modinfo -F depends iwlwifi
cfg80211
modinfo -F depends cfg80211
rfkill
modinfo -F depends rfkill
<empty>

So I define these 3 not to load at boot:

nano /etc/modprobe.d/wlan-blacklist.conf

And insert:

blacklist rfkill
blacklist cfg80211
blacklist iwlwifi

The bluetooth chip will not work anymore so I disable these modules too. To show if any bluetooth is available:

systemctl list-units | grep bluetooth

Output:

  sys-devices-pci0000:00-0000:00:14.0-usb3-3\x2d10-3\x2d10:1.0-bluetooth-hci0.device   loaded active plugged   /sys/devices/pci0000:00/0000:00:14.0/usb3/3-10/3-10:1.0/bluetooth/hci0
  sys-subsystem-bluetooth-devices-hci0.device                                          loaded active plugged   /sys/subsystem/bluetooth/devices/hci0
  bluetooth.target                                                                     loaded active active    Bluetooth Support

I blacklist the modules. It disables the internal bluetooth and usb bluetooth adapters:

nano /etc/modprobe.d/bluetooth-blacklist.conf

Insert:

blacklist bluetooth
blacklist btusb

Now I have to update the boot process:

update-initramfs -u

And do a reboot.