Bluetooth: Difference between revisions
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 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> | |||
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; } }