From fc65aa5403a8ed317881a2539503a247df548370 Mon Sep 17 00:00:00 2001 From: Andrea Ciceri Date: Wed, 17 Apr 2024 13:45:38 +0200 Subject: [PATCH] Bluetooth fix Don't know exactly what happened but this fixed it --- modules/bluetooth/default.nix | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/modules/bluetooth/default.nix b/modules/bluetooth/default.nix index 803215e..49fbc36 100644 --- a/modules/bluetooth/default.nix +++ b/modules/bluetooth/default.nix @@ -1,7 +1,24 @@ -{pkgs, ...}: { +{ + pkgs, + config, + ... +}: { services.blueman.enable = true; hardware.pulseaudio.enable = true; - hardware.bluetooth.enable = true; + hardware.bluetooth = { + enable = true; + settings = { + General = { + Name = config.networking.hostName; + ControllerMode = "dual"; + FastConnectable = "true"; + Experimental = "true"; + }; + Policy = { + AutoEnable = "true"; + }; + }; + }; services.dbus.packages = with pkgs; [blueman]; ccr.extraGroups = ["bluetooth"]; }