Bluetooth: Difference between revisions

imported>Grahamc
Indicate how to have devices automatically connect with bluetoothctl trust.
imported>Vdot0x23
Replace blueman package recommendation with blueman service
Line 14: Line 14:
In order to use Bluetooth devices, they must be paired with your NixOS machine. Heavier desktop environments will usually provide a Bluetooth management GUI which you can use to pair devices.
In order to use Bluetooth devices, they must be paired with your NixOS machine. Heavier desktop environments will usually provide a Bluetooth management GUI which you can use to pair devices.


If your desktop environment does not provide such a GUI, you can install the <tt>blueman</tt> package. This provides a tray icon process (<tt>blueman-applet</tt>) and a GUI management application (<tt>blueman-manager</tt>).
If your desktop environment does not provide such a GUI, you can additionally enable the blueman service, which provides blueman-applet and blueman-manager with the snippet below.
<syntaxhighlight lang="nix">
services.blueman.enable = true;
</syntaxhighlight>


===Pairing devices from the command line===
===Pairing devices from the command line===