Xbox controller stuck in a Disconnect/Reconnect loop

I am trying to connect my Bluetooth Xbox controller to my PC running NixOS 25.05, but whenever I try to connect it after a successful pairing, it does this:


1 Like

I am running KDE Plasma 6 on the following hardware:

  • Ryzen 5 7600
  • AMD RX 9070 16GB
  • 32GB (2x16) DDR5 6000MHZ CL30
  • Asrock X670E Steel Legend

so far I’ve tried to add:
hardware.xpadneo.enable = true;
to my config, but that did nothing.

Any ideas?
AMA!

What is your controller , did your try remove <mac> and pairing it freshly and did you rebulild after hardware.xpadneo.enable = true; then see these

This looks promising:

Aaaaaand BINGO!

We’ve got a solid indicator light!
We’ve got input!
We’ve got no weird disconnect loops!
and all it took was adding:

  hardware.bluetooth = {
    enable = true; # enables support for Bluetooth
    powerOnBoot = true; # powers up the default Bluetooth controller on boot
    settings = {
      General = {
        Privacy = "device";
        JustWorksRepairing = "always";
        Class = "0x000100";
        FastConnectable = "true";
      };
    };
  };

to my config!

2 Likes

from the fellow nix user guy right , gladly it worked. :tada: