Bluetooth

From NixOS Wiki
Revision as of 17:14, 30 June 2017 by imported>Fadenb

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