Make bluetooth with game pad work.

The ERTM is some bluetooth protocol extension. When enabled the
bluetooth scan can't find my Stadia controllers.
This commit is contained in:
Eli Ribble 2024-09-24 22:10:38 +00:00
parent beb52e86a1
commit 41e862ddf8
1 changed files with 2 additions and 0 deletions

View File

@ -10,12 +10,14 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
boot.extraModprobeConfig = '' options bluetooth disable_ertm=1 '';
boot.kernelPackages = pkgs.linuxPackages; # (this is the default) some amdgpu issues on 6.10 boot.kernelPackages = pkgs.linuxPackages; # (this is the default) some amdgpu issues on 6.10
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
hardware.xone.enable = true; # support for the xbox controller USB dongle hardware.xone.enable = true; # support for the xbox controller USB dongle
networking.hostName = "eshu"; # Define your hostname. networking.hostName = "eshu"; # Define your hostname.