From 7a24bd6f7e5a29490c6ecd8d6a0bf527d636a1b4 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sun, 31 Mar 2024 13:05:51 +0200 Subject: fix(hosts/tiamat/hardware): Avoid having a suspended Bluetooth controller The controller tends to never wake up again, so suspending it is rather useless. --- hosts/tiamat/hardware/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hosts/tiamat/hardware') diff --git a/hosts/tiamat/hardware/default.nix b/hosts/tiamat/hardware/default.nix index 81a74620..b15c6e53 100644 --- a/hosts/tiamat/hardware/default.nix +++ b/hosts/tiamat/hardware/default.nix @@ -21,6 +21,11 @@ boot = { kernelModules = ["kvm-amd"]; + kernelParams = [ + # Avoid loosing the Bluetooth controller to a sleep, from which it never wakes again + "btusb.enable_autosuspend=n" + ]; + initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"]; }; } -- cgit 1.4.1