From b19492ba23270b3d1b300d0a3d5013e7a576196e Mon Sep 17 00:00:00 2001 From: Colin Date: Mon, 12 Feb 2024 08:17:31 +0000 Subject: [PATCH] programs: mpv: add .config/mpv to sandbox paths --- hosts/common/programs/mpv.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/common/programs/mpv.nix b/hosts/common/programs/mpv.nix index ca711ca7..f7fa460d 100644 --- a/hosts/common/programs/mpv.nix +++ b/hosts/common/programs/mpv.nix @@ -66,6 +66,9 @@ in sandbox.autodetectCliPaths = true; sandbox.net = "all"; sandbox.whitelistDri = true; #< mpv has excellent fallbacks to non-DRI, but DRI offers a good 30%-50% reduced CPU + sandbox.extraHomePaths = [ + ".config/mpv" #< else mpris plugin crashes on launch + ]; persist.byStore.plaintext = [ ".local/state/mpv/watch_later" ]; fs.".config/mpv/input.conf".symlink.text = let