From 9ffe136aa70188ee298409272334be4df4a6239e Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Mon, 21 Mar 2022 00:57:45 +0100 Subject: [PATCH] bluetooth: improve audio features - better codecs - media control buttons --- home/home.nix | 3 +++ nixos/configuration.nix | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/home/home.nix b/home/home.nix index 6635824..ffc704f 100644 --- a/home/home.nix +++ b/home/home.nix @@ -324,6 +324,9 @@ in services.lorri.enable = true; + # media button control support from Bluetooth devices + services.mpris-proxy.enable = true; + fonts.fontconfig.enable = true; programs.git = diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 8a8b603..bdc6e3f 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -138,7 +138,11 @@ in enable = true; settings.General.Disable = "Headset"; # disable headset profile }; - hardware.pulseaudio.package = pkgs.pulseaudioFull; + hardware.pulseaudio = { + package = pkgs.pulseaudioFull; + # advanced but proprietary audio codecs for Bluetooth + extraModules = [ pkgs.pulseaudio-modules-bt ]; + }; # Enable the X11 windowing system. services.xserver.enable = true;