mpv: sandbox dbus

This commit is contained in:
2025-01-08 23:54:36 +00:00
parent 4c56ea3e6b
commit 5cae0edb12

View File

@@ -190,7 +190,7 @@ in
sandbox.autodetectCliPaths = "parent"; #< especially for subtitle downloader; also nice for viewing albums
sandbox.net = "all";
sandbox.whitelistAudio = true;
sandbox.whitelistDbus.user = true; #< TODO: reduce #< mpris
sandbox.whitelistDbus.user.own = [ "org.mpris.MediaPlayer2.mpv" "org.mpris.MediaPlayer2.mpv.*" ];
sandbox.whitelistDri = true; #< mpv has excellent fallbacks to non-DRI, but DRI offers a good 30%-50% reduced CPU
sandbox.whitelistWayland = true;
sandbox.extraHomePaths = [