Regenerated
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Enable Bluetooth hardware and daemon
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = true;
|
||||
packages = [ pkgs.bluez ];
|
||||
extraConfig = ''
|
||||
AutoEnable=true
|
||||
DiscoverableTimeout=0
|
||||
PairableTimeout=0
|
||||
'';
|
||||
};
|
||||
|
||||
# Enable PipeWire and Bluetooth audio
|
||||
services.pipewire = {
|
||||
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
|
||||
];
|
||||
};
|
||||
|
||||
# Optional graphical manager
|
||||
environment.systemPackages = [ pkgs.blueman ];
|
||||
}
|
||||
Reference in New Issue
Block a user