Regenerated
This commit is contained in:
+13
-10
@@ -541,7 +541,7 @@ This sets the bluetooth implementation
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
packages = with pkgs; [ bluez ];
|
||||
packages = [ pkgs.bluez ];
|
||||
extraConfig = ''
|
||||
AutoEnable=true
|
||||
DiscoverableTimeout=0
|
||||
@@ -549,19 +549,22 @@ This sets the bluetooth implementation
|
||||
'';
|
||||
};
|
||||
|
||||
# Enable Bluetooth audio support in PipeWire
|
||||
# Enable PipeWire and Bluetooth audio
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
load-module module-bluez5-device
|
||||
bluez5.enable = true
|
||||
'';
|
||||
|
||||
# This is now a list of packages to configure
|
||||
configPackages = [
|
||||
pkgs.pipewire
|
||||
pkgs.pipewire-pulse
|
||||
pkgs.pipewire-alsa
|
||||
pkgs.pipewire-jack
|
||||
pkgs.pipewire-media-session
|
||||
];
|
||||
};
|
||||
|
||||
# Install a graphical Bluetooth manager (optional)
|
||||
environment.systemPackages = with pkgs; [
|
||||
blueman
|
||||
];
|
||||
# Optional graphical manager
|
||||
environment.systemPackages = [ pkgs.blueman ];
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
|
||||
Reference in New Issue
Block a user