From 41e862ddf8ac488b4b89a0ad0e75818e5915d237 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 24 Sep 2024 22:10:38 +0000 Subject: [PATCH] Make bluetooth with game pad work. The ERTM is some bluetooth protocol extension. When enabled the bluetooth scan can't find my Stadia controllers. --- eshu/etc/nixos/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eshu/etc/nixos/configuration.nix b/eshu/etc/nixos/configuration.nix index 5576217..e2c12ca 100644 --- a/eshu/etc/nixos/configuration.nix +++ b/eshu/etc/nixos/configuration.nix @@ -10,12 +10,14 @@ ./hardware-configuration.nix ]; + boot.extraModprobeConfig = '' options bluetooth disable_ertm=1 ''; boot.kernelPackages = pkgs.linuxPackages; # (this is the default) some amdgpu issues on 6.10 # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; hardware.bluetooth.enable = true; + hardware.bluetooth.powerOnBoot = true; hardware.xone.enable = true; # support for the xbox controller USB dongle networking.hostName = "eshu"; # Define your hostname.