Bluetooth: Difference between revisions
m Make "happy path" for installing mpris the first example. Also add missing code formatting |
Add warning about laptops that use combo wifi bluetooth cards. Add `powerOnBoot` option to the setup section code. |
||
| Line 1: | Line 1: | ||
==Setup== | ==Setup== | ||
To enable support for Bluetooth devices, amend your system configuration as follows and apply changes: | To enable support for Bluetooth devices, amend your system configuration as follows and apply changes: | ||
{{file|/etc/nixos/configuration.nix|nix| | {{file|3=hardware.bluetooth = { | ||
enable = true; | |||
powerOnBoot = false; | |||
};|name=/etc/nixos/configuration.nix|lang=nix}}{{Warning|Some laptops use combo bluetooth wifi cards that might reduce wifi quality when both bluetooth and wifi are enabled. If you encounter degraded network quality after setup this might be the cause.}} | |||
==Usage== | ==Usage== | ||
In order to use Bluetooth devices, they must be paired with your NixOS machine. Heavier [[:Category:Desktop_environment|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 [[:Category:Desktop_environment|desktop environments]] will usually provide a Bluetooth management GUI which you can use to pair devices. | ||