mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 15:10:19 +02:00
more config
This commit is contained in:
parent
0035f0f1fa
commit
f740a9542f
8 changed files with 90 additions and 21 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue