fixed bluetooth related stuff

This commit is contained in:
chloe 2025-03-22 18:53:01 +01:00
parent f4d1078dc8
commit 0771ad93ce
2 changed files with 14 additions and 5 deletions

View file

@ -1,7 +1,16 @@
{config, pkgs, ...}: { { config, pkgs, ... }:
{
hardware.bluetooth = { hardware.bluetooth = {
enable = true; # enables support for Bluetooth enable = true; # enables support for Bluetooth
powerOnBoot = true; # powers up the default Bluetooth controller on boot powerOnBoot = true; # powers up the default Bluetooth controller on boot
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
Experimental = true;
};
};
}; };
services.blueman.enable = true; services.blueman.enable = true;
} }

View file

@ -1,4 +1,4 @@
{config, pkgs, ...}: { config, pkgs, ... }:
{ {
security.rtkit.enable = true; security.rtkit.enable = true;
services.pipewire = { services.pipewire = {
@ -8,7 +8,7 @@
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
}; };
environment.systemPackages = [ environment.systemPackages = [
pkgs.pwvucontrol pkgs.pwvucontrol
]; ];