From 648a28ca7ebf006ca773d43a23a3c90b06620e60 Mon Sep 17 00:00:00 2001 From: "Gustavo \"Guz\" L de Mello" Date: Sat, 1 Mar 2025 19:37:48 -0300 Subject: [PATCH] feat: bluetooth config --- hosts/battleship/configuration.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/battleship/configuration.nix b/hosts/battleship/configuration.nix index ea56ab3..5724c76 100644 --- a/hosts/battleship/configuration.nix +++ b/hosts/battleship/configuration.nix @@ -33,6 +33,18 @@ # Xbox Controller driver hardware.xone.enable = true; + hardware.bluetooth.settings.General = { + experimental = true; + + Privacy = "device"; + JustWorksRepairing = "always"; + Class = "0x000100"; + FastConnectable = true; + }; + boot.extraModprobeConfig = '' + options bluetooth disable_ertm=Y + ''; + nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [ "megasync"