mpv: add /dev/dri to the sandbox

This commit is contained in:
Colin 2024-02-02 19:18:30 +00:00
parent 832a572d56
commit 56734fe5da

View File

@ -64,6 +64,7 @@ in
sandbox.method = "bwrap";
sandbox.autodetectCliPaths = true;
sandbox.whitelistDri = true; #< mpv has excellent fallbacks to non-DRI, but DRI offers a good 30%-50% reduced CPU
persist.byStore.plaintext = [ ".local/state/mpv/watch_later" ];
fs.".config/mpv/input.conf".symlink.text = let