more config

This commit is contained in:
chloe 2024-10-22 10:54:12 +02:00
parent 0035f0f1fa
commit f740a9542f
8 changed files with 90 additions and 21 deletions

View file

@ -1,6 +1,8 @@
{config, pkgs, ...}: {
hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
hardware.bluetooth = { enable = true; # enables support for Bluetooth
powerOnBoot = true; # powers up the default Bluetooth controller on boot
};
services.blueman.enable = true;
systemd.user.services.mpris-proxy = {
@ -15,4 +17,10 @@
Experimental = true;
};
};
services.pipewire.wireplumber.extraConfig."11-bluetooth-policy" = {
"wireplumber.settings" = {
"bluetooth.autoswitch-to-headset-profile" = false;
};
};
}

View file

@ -1,4 +1,4 @@
{config, ...}:
{config, pkgs, ...}:
{
security.rtkit.enable = true;
services.pipewire = {
@ -6,8 +6,8 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# If you want to use JACK applications, uncomment this
jack.enable = true;
wireplumber.extraConfig."10-bluez" = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
@ -22,4 +22,8 @@
};
};
};
environment.systemPackages = [
pkgs.pwvucontrol
];
}