diff --git a/packages/nixpak/ungoogled-chromium/default.nix b/packages/nixpak/ungoogled-chromium/default.nix index 1e646fa..8988b0a 100644 --- a/packages/nixpak/ungoogled-chromium/default.nix +++ b/packages/nixpak/ungoogled-chromium/default.nix @@ -10,7 +10,12 @@ mkNixPak { imports = [ ../modules/gui-base.nix ../modules/network.nix + ../modules/mpris2-player.nix ]; + # chromium doesn't use the expected MPRIS2 name format + dbus.policies = { + "org.mpris.MediaPlayer2.chromium.*" = "own"; + }; bubblewrap = { bind.rw = [ [