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"]; }