Skip to content

Commit

Permalink
Wireplumber 0.5.6 (#340154)
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 authored Sep 7, 2024
2 parents 344c353 + a0134dd commit f7e4fc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
14 changes: 1 addition & 13 deletions nixos/modules/services/desktops/pipewire/wireplumber.nix
Original file line number Diff line number Diff line change
Expand Up @@ -215,17 +215,6 @@ in
}
'';

systemwideConfigPkg = pkgs.writeTextDir "share/wireplumber/wireplumber.conf.d/90-nixos-systemwide.conf" ''
# When running system-wide, we don't have logind to call ReserveDevice,
# And bluetooth logind integration needs to be disabled
wireplumber.profiles = {
main = {
support.reserve-device = disabled
monitor.bluez.seat-monitoring = disabled
}
}
'';

extraConfigPkg = pkgs.buildEnv {
name = "wireplumber-extra-config";
paths = mapConfigToFiles cfg.extraConfig;
Expand All @@ -240,8 +229,7 @@ in

configPackages = cfg.configPackages
++ [ extraConfigPkg extraScriptsPkg ]
++ optional (!pwUsedForAudio) pwNotForAudioConfigPkg
++ optional pwCfg.systemWide systemwideConfigPkg;
++ optional (!pwUsedForAudio) pwNotForAudioConfigPkg;

configs = pkgs.buildEnv {
name = "wireplumber-configs";
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/libraries/pipewire/wireplumber.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

stdenv.mkDerivation rec {
pname = "wireplumber";
version = "0.5.5";
version = "0.5.6";

outputs = [ "out" "dev" ] ++ lib.optional enableDocs "doc";

Expand All @@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
owner = "pipewire";
repo = "wireplumber";
rev = version;
hash = "sha256-evqQCKf4oE/PwkAOMPPPw8LPiNIWQ2gkOJzsFC8UN+k=";
hash = "sha256-UAx7laULICb9ClZsIFcKi687M0yEgV4sCyhKqxs4nHE=";
};

nativeBuildInputs = [
Expand Down

0 comments on commit f7e4fc6

Please sign in to comment.