Bluetooth: Difference between revisions
imported>Pyrox0 Fix syntax highlighting |
imported>Jiltq m syntax + clarification (will work on the rest of the page later) |
||
Line 1: | Line 1: | ||
==Enabling Bluetooth support== | ==Enabling Bluetooth support== | ||
To enable support for Bluetooth devices, | To enable support for Bluetooth devices, amend your system configuration as follows: | ||
{{file|/etc/nixos/configuration.nix|nix|<nowiki> | |||
{ | |||
hardware.bluetooth. | ... | ||
}</ | hardware.bluetooth.enable = true; # enables support for Bluetooth | ||
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot | |||
... | |||
} | |||
</nowiki>}} | |||
{{evaluate}} | {{evaluate}} | ||
==Pairing Bluetooth devices== | ==Pairing Bluetooth 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. | 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. | ||