programs: mpv: add .config/mpv to sandbox paths
This commit is contained in:
@@ -66,6 +66,9 @@ in
|
|||||||
sandbox.autodetectCliPaths = true;
|
sandbox.autodetectCliPaths = true;
|
||||||
sandbox.net = "all";
|
sandbox.net = "all";
|
||||||
sandbox.whitelistDri = true; #< mpv has excellent fallbacks to non-DRI, but DRI offers a good 30%-50% reduced CPU
|
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" ];
|
persist.byStore.plaintext = [ ".local/state/mpv/watch_later" ];
|
||||||
fs.".config/mpv/input.conf".symlink.text = let
|
fs.".config/mpv/input.conf".symlink.text = let
|
||||||
|
Reference in New Issue
Block a user