packages/ungoogled-chromium: add MPRIS2 support

This commit is contained in:
Max Headroom 2023-05-03 01:15:20 +02:00
parent 40aae03414
commit dbf5251a2d

View file

@ -10,7 +10,12 @@ mkNixPak {
imports = [ imports = [
../modules/gui-base.nix ../modules/gui-base.nix
../modules/network.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 = { bubblewrap = {
bind.rw = [ bind.rw = [
[ [