M hosts/configuration.nix => hosts/configuration.nix +12 -0
@@ 92,6 92,18 @@
};
};
+ environment.etc = {
+ "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = ''
+ bluez_monitor.properties = {
+ ["bluez5.msbc-support"] = true;
+ ["bluez5.sbc-xq-support"] = true;
+ ["bluez5.enable-faststream"] = true;
+ ["bluez5.headset-roles"] = "[ hsp_hs hsp_ag ]";
+ ["bluez5.hfphsp-backend"] = "hsphfpd";
+ }
+ '';
+ };
+
systemd.services."home-manager-${user}".serviceConfig.TimeoutStartSec = lib.mkForce "20m";
nix = { # Nix Package Manager settings
M hosts/home.nix => hosts/home.nix +7 -0
@@ 180,4 180,11 @@
Requires = [ "graphical-session-pre.target" ];
};
};
+
+ systemd.user.services.mpris-proxy = {
+ description = "Mpris proxy";
+ after = [ "network.target" "sound.target" ];
+ wantedBy = [ "default.target" ];
+ serviceConfig.ExecStart = "${pkgs.bluez}/bin/mpris-proxy";
+ };
}