Xbox controller does not connect via bluetooth

Everything worked in gnome and cosmic, but with the transition to niri, I had to add hardware.bluetooth in the configuration. For some reason, now the controller either takes a very long time to connect and does not work, or it repeatedly connects and disconnects.
That’s all I’ve added for that:

  hardware = {
    bluetooth = {
      enable = true;
      powerOnBoot = true;
      settings = {
        General = {
          Experimental = true;
        };
        Policy = {
          AutoEnable = true;
        };
      };
    };
    xpadneo.enable = true;
}

For that setting to work, you need to change https://search.nixos.org/options?channel=unstable&show=hardware.bluetooth.package&query=bluetooth.pack to bluez-experimental .

Maybe the 25.11 update slipped in between those changes?