packages/ungoogled-chromium: add MPRIS2 support
This commit is contained in:
parent
40aae03414
commit
dbf5251a2d
1 changed files with 5 additions and 0 deletions
|
@ -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 = [
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue