Bluetooth: Difference between revisions

imported>Makefu
add notes about failing load
imported>SimonAlling
m error: The option `hardware.pulseAudio' does not exist.
Line 55: Line 55:
{{Expansion|When setting up pulseaudio systemWide extra policies needs to be deployed for pulse to be able to connect to the bluetooth stack. The Info below is not enough.}}
{{Expansion|When setting up pulseaudio systemWide extra policies needs to be deployed for pulse to be able to connect to the bluetooth stack. The Info below is not enough.}}


When you are running <code>pulseAudio</code> system-wide then you will need to add the following modules to your <code>default.pa</code> configuration:
When you are running PulseAudio system-wide then you will need to add the following modules to your <code>default.pa</code> configuration:
<syntaxHighlight lang="nix">
<syntaxHighlight lang="nix">
hardware.pulseAudio.configFile = pkgs.writeText "default.pa" ''
hardware.pulseaudio.configFile = pkgs.writeText "default.pa" ''
   load-module module-bluetooth-policy
   load-module module-bluetooth-policy
   load-module module-bluetooth-discover
   load-module module-bluetooth-discover