Bluetooth: Difference between revisions

From NixOS Wiki
imported>Fadenb
(Created page with "== Enabling Bluetooth in NixOS == Enabling Bluetooth is as simple as putting this in your configuration.nix: <pre> hardware.bluetooth.enable = true; </pre> == Bluez 4 == T...")
 
imported>Fadenb
No edit summary
Line 6: Line 6:
hardware.bluetooth.enable = true;
hardware.bluetooth.enable = true;
</pre>
</pre>
== Bluez 4 ==
This is the default for now (as of August 2013), as KDE 4.10 and Pulseaudio 4.0 do not yet support Bluez 5.


== Bluez 5 ==
== Bluez 5 ==
<del>To use Bluez 5, you need something like this in your Nixpkgs config (in your <code>~/.nixpkgs/config.nix</code>):</del>


To use Bluez 5, you need something like this in your Nixpkgs config (in your <code>~/.nixpkgs/config.nix</code>):
Bluez5 is now the default version (as of 2017-06-30)


<pre>
<pre>

Revision as of 17:14, 30 June 2017

Enabling Bluetooth in NixOS

Enabling Bluetooth is as simple as putting this in your configuration.nix:

hardware.bluetooth.enable = true;

Bluez 5

To use Bluez 5, you need something like this in your Nixpkgs config (in your ~/.nixpkgs/config.nix):

Bluez5 is now the default version (as of 2017-06-30)

pkgs : {
  packageOverrides = pkgs : {
    bluez = pkgs.bluez5;
  }
}