more goober config

This commit is contained in:
chloe 2024-11-01 18:03:42 +01:00
parent c7ff941eb4
commit 5a061376b8
4 changed files with 17 additions and 25 deletions

View file

@ -1,26 +1,7 @@
{config, pkgs, ...}: {
hardware.bluetooth = { enable = true; # enables support for 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 = {
description = "Mpris proxy";
after = [ "network.target" "sound.target" ];
wantedBy = [ "default.target" ];
serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
};
hardware.bluetooth.settings = {
General = {
Experimental = true;
};
};
services.pipewire.wireplumber.extraConfig."11-bluetooth-policy" = {
"wireplumber.settings" = {
"bluetooth.autoswitch-to-headset-profile" = false;
};
};
}

View file

@ -6,7 +6,7 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
jack.enable = true;
#jack.enable = true;
wireplumber.extraConfig."10-bluez" = {
"monitor.bluez.properties" = {
@ -22,7 +22,11 @@
};
};
};
services.pipewire.wireplumber.extraConfig."11-bluetooth-policy" = {
"wireplumber.settings" = {
"bluetooth.autoswitch-to-headset-profile" = false;
};
};
environment.systemPackages = [
pkgs.pwvucontrol
];